Comments (4)
(by mwhudson)
I can see the problem (it will also affect a project that uses buildout).
I'm less clear on a solution though :/
from pydoctor.
(by naesten)
I was thinking something like
--(module|package)=[python.module.name:]/path/to/file/or/directory
where, if omitted, the python.module.name would be assumed to be just "directory" in this case. If you passed a filename ending in .py, it would be just the basename of that. (It wouldn't really matter whether what you passed was a module filename or a package directory name.)
I've not got my heart set on this exact syntax, but it seems like it wouldn't be too hard...
The config file bit, I'm not too sure about. I guess a variable that you set to a comma-seperated list of these would be the obvious approach ... I'd try to implement it myself, but the code scares me :-(.
from pydoctor.
(by mwhudson)
Samuel Bronson wrote:
I was thinking something like
--(module|package)=[python.module.name:]/path/to/file/or/directory
where, if omitted, the python.module.name would be assumed to be just
"directory" in this case. If you passed a filename ending in .py, it
would be just the basename of that. (It wouldn't really matter whether
what you passed was a module filename or a package directory name.)
Actually, I've come to think that the --module options are silly;
they're arguments really.
pydoctor bzrlib.plugins.svn:~/.bazaar/plugins/svn ~/src/bzr.dev/bzrlib
doesn't seem too bad.
I've not got my heart set on this exact syntax, but it seems like it
wouldn't be too hard...The config file bit, I'm not too sure about. I guess a variable that you
set to a comma-seperated list of these would be the obvious approach ...
I'd try to implement it myself, but the code scares me :-(.
It scares me a bit these days too :( If you wanted to rip it out and
use configlue or something instead, I'd be very happy with that.
Cheers,
mwh
from pydoctor.
(by naesten)
On Tue, Aug 4, 2009 at 9:46 PM, Michael Hudson wrote:
Samuel Bronson wrote:
Actually, I've come to think that the --module options are silly;
they're arguments really.pydoctor bzrlib.plugins.svn:~/.bazaar/plugins/svn ~/src/bzr.dev/bzrlib
doesn't seem too bad.
Yeah, that's even better.
The config file bit, I'm not too sure about. I guess a variable that you
set to a comma-seperated list of these would be the obvious approach ...
I'd try to implement it myself, but the code scares me :-(.It scares me a bit these days too :( If you wanted to rip it out and
use configlue or something instead, I'd be very happy with that.
I'm not familiar with that, and ripping large pieces out of other people's code isn't my cup of tea...
from pydoctor.
Related Issues (20)
- Failing and undocumented test "test_pyval_repr.py::test_expressions_parens" HOT 3
- "tox -p all" not working HOT 3
- "tox -p all" to noise for extern contributors HOT 4
- Contribution docu: Code Style HOT 1
- Test docu: Missing docu about test_packags.py and processPackage()
- Build infrastructure: Run ReadTheDocs on every PR/commit? HOT 2
- Find an extensible manner to integrate templatewriter customizations
- How to break down (debug) " Cannot find link target for XYZ" errors? HOT 9
- Failure to process classifiers as part of consolidation fields in a reStructuredText docstring HOT 2
- Upgrade all annotations to use python 3.10 style HOT 1
- RFE: please provide update for `urllib3` 2.2.x HOT 5
- Fix compatibility with docutils 0.21.x
- Transform deprecated typing annotation into python 3.10 style HOT 1
- Codecov is failing HOT 7
- Docutils is slow for constructor links HOT 1
- doc(FAQ): How to lint? HOT 1
- Release automation is broken HOT 3
- Move away from appdirs package
- 24.3.3: pytest fails in `pydoctor/test/test_cyclic_imports_base_classes.py::test_cyclic_imports_base_classes` unit HOT 1
- Add support for the new doc micro syntax (PEP727)
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 pydoctor.