Comments (2)
Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):
fixes #18 speed up reading parsing files
- in matlabify, check first if module is already imported by looking in sys.modules
if not then use MatModule() - issue debug messages to help troubleshoot errors
- add test mode static function dbg and set sphinx_dbg to dbg for test mode, it will
still be overloaded by MatlabDocumenter's real sphinx_dbg - in MatModule getter, if module then return None, so that real_module_name uses
self.modname always, and issue debug message, matlab modules are like packages, so no
module attr - check if MatModule has attr using hasattr(self, name), if it does return
getattr(self, name), if not then call matlabify to get attr and store attr in MatModule
using setattr(self, name, attr), issue debuge messages for both cases
from matlabdomain.
Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):
fixes #18 speed up reading parsing files
- in matlabify, check first if module is already imported by looking in sys.modules
if not then use MatModule() - issue debug messages to help troubleshoot errors
- add test mode static function dbg and set sphinx_dbg to dbg for test mode, it will
still be overloaded by MatlabDocumenter's real sphinx_dbg - in MatModule getter, if module then return None, so that real_module_name uses
self.modname always, and issue debug message, matlab modules are like packages, so no
module attr - check if MatModule has attr using hasattr(self, name), if it does return
getattr(self, name), if not then call matlabify to get attr and store attr in MatModule
using setattr(self, name, attr), issue debuge messages for both cases
from matlabdomain.
Related Issues (20)
- [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
- can't link function short name if it matches module name HOT 4
- Use textmate grammar instead of pygments HOT 17
- non-functional :func: and :class: references with identical section name HOT 4
- class folder with matlab_short_links causes fatal error HOT 2
- Napoleon reformulation does not get applied to `MatProperty` docstrings. HOT 1
- Some class property attributes seem to be missing
- Use `properties` (etc.) blocks as automatic sections for the `autoclass` directives.
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.