-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for online source links #102
Conversation
UserWarning: Unknown configuration variables (not in config.mako) https://travis-ci.org/pdoc3/pdoc/jobs/578459994#L220
Currently, our path detection for a
@kernc any idea on how we could get the path of the package root regardless of whether the user passes a "import path resolvable in the current environment, or a file path to a Python module or package." Currently, the broken implementation is: Lines 455 to 456 in af15129
|
Yeah, that was the fragile part. Thinking ... 🤔 |
24f4a9a
to
df061c1
Compare
Local testing command: pdoc3 --force --html \
--template-dir doc/pdoc_template \
--output-dir doc \
--config "repo_link_template='https://github.com/pdoc3/pdoc/blob/{commit}/{path}#L{start_line}-L{end_line}'" \
pdoc Currently dealing with error
related to inspecting a decorated method I believe |
Okay as of 4213b6d we get a warning related to a malfunction. I modified |
The double decoration of this function is what is causing the Lines 415 to 426 in 9d71e32
|
Co-authored-by: Vincent Rubinetti <[email protected]>
@dhimmel you'll probably want to add |
As a workaround, |
Okay I think the HTML output functionality is now working. I've checked the possible combinations of But this is probably not a huge deal? BTW hat tip to @vincerubinetti for all the CSS help. |
@kernc ready for your review. |
@dhimmel that can be fixed with some |
If it's straightforwards and not too ugly, then sure! |
6617ec3
to
29ec805
Compare
I apologize for the long turnaround. I find wholly too little productive screen time these days. Pushed are some touch-ups I like. What do you think? |
Hmmm, a simple unit test would be nice. 🤔 Line 727 in 6443c91
|
Beautiful.
|
I think assuming a Travis-like environment (i.e. with git) is enough. Just something that roughly covers. |
a0c65f6
to
8edf3fe
Compare
Okay |
Will try to get this in and published in the next few days. |
Not to rush you, just a reminder! 😈 |
Merges #28 Switch to pdoc3~=0.7 with git_link support https://www.python.org/dev/peps/pep-0440/#compatible-release pdoc3/pdoc#102
Closes #100