Comments (2)
Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):
add @Property doc returns docstring
- use repr() instead of str(), since repr() precludes str()
- fix bug, arg in getter is name, not attr!
- begin separating modname module from basedir absolute path
- not passing!
- if fullpath passed to matlabify is None, return None
- fix bug 1st arg of super calls to getter should be classname, but were all MatModule
since copied/pasted from there oops! - add not to multiline docstring immediately before property assignment in property
block should have colon after comment marker eg "%:" - class property module returns path, needs fixing, currently returns absolute path
including basedir - delete shadow init method from MATLAB documenter
- set parent to None, if module is in top level of basedir, needs fixing, looks like it
sets parent = None if fullpath == basedir, which is not correct, this would put
everything into a single package, which might be desirable but is not the most general
case, not sure, hmmmm - delete ModuleAnalyzer debugging stuff
- delte objtypes, since same as python autodoc
- add set self.doc_as_attr = something to import_object for classes
- add MatModuleLevelDocumenter and MatClassLevelDocumenter classes
from matlabdomain.
Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):
the issue is that they are read in with their quotes if they are string literals, hence the double quotes.
Checking token types for primitive literals is fine, but for matlab arrays and more complicated property defaults, it could get tricky
proposal:
- if primitive literal, use tokens to resolve and recast as Python equivalent
- if some tricky matlab type, leave as string, or recast to python equivalent if possible
- leave as an <MatObject: "blah">
from matlabdomain.
Related Issues (20)
- Unexpected sphinx error: KeyError: 'default'` HOT 8
- Wrong function name in tokens when defined without parentheses and docstring HOT 2
- Question about parseing scripts and using automodule. HOT 3
- Error report: AttributeError: 'MatClass' object has no attribute 'path' HOT 3
- SyntaxError in Matlab.py HOT 5
- Extension error during build related to an mlapp file HOT 1
- Unexpected class attribute: 'Nontunable' HOT 1
- [Meta] Gathering interest in a "Framework :: Sphinx :: Domain" PyPi classifier HOT 1
- Feature request: show matlab class property dimensions, class, validators HOT 1
- Subfolders in class folders are inappropriately treated as class folders. HOT 10
- Parsing warning HOT 1
- Inquiry on features and documentation: scripts, citations, comments and parsing of existing docs HOT 1
- "Island" comments in the properties section causes parsing of a class to fail HOT 1
- Unexpected parse warning HOT 1
- Document abstract methods HOT 2
- Vague error when there is an empty @ClassFolder HOT 1
- Extension error when deplyoing with GitHub pages HOT 4
- Check if auto-linking feature works with classes in folders with the same name. HOT 3
- bug in auto-linking literal block detection
- documenter.generate() being called multiple times for module HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matlabdomain.