pydoctor: "source" links not working (html-viewsource-base)
Hello, I run pydoctor for some months and it was working. But something changed on my site I think. But I am not sure about it. My repository is here https://codeberg.org/buhtz/buhtzology I assume this URL is the value I have to use for the "html-viewsource-base" argument when calling pydoctor. Am I right? For example the "landing page" is related to that __init__.py file in my repo https://codeberg.org/buhtz/buhtzology/src/branch/main/src/buhtzology/__init_... But when I click on the "source" link in the pydoctor-generated HTML docu it points to https://codeberg.org/buhtz/buhtzology/src/buhtzology/__init__.py You see the problem? I don't invoke pydoctor in the projects root but in its "docs" folder. That is why 'project-base-dir=..'. This is how my pydoctor is invoked: pydocotor --project-name=buhtzology (0.0.1beta1) --project-version=0.0.1beta1 --project-url=https://codeberg.org/buhtz/buhtzology --html-viewsource-base=https://codeberg.org/buhtz/buhtzology --docformat=google --make-html --process-types --project-base-dir=.. --html-output=html --intersphinx=https://docs.python.org/3/objects.inv --intersphinx=https://pandas.pydata.org/docs/objects.inv --intersphinx=https://numpy.org/doc/stable/objects.inv Any idea what I am doing wrong here? Something minimal must have changed. But I can not say what it was. I am not aware that I modified something of my doc-generating-setup. Kind Christian
Hello again, maybe it is because of holiday time that there is no answer yet? ;) Or should I better open an Issue about it? Kind Christian On 2022-07-18 17:48 <c.buhtz@posteo.jp> wrote:
My repository is here https://codeberg.org/buhtz/buhtzology
I assume this URL is the value I have to use for the "html-viewsource-base" argument when calling pydoctor. Am I right?
For example the "landing page" is related to that __init__.py file in my repo https://codeberg.org/buhtz/buhtzology/src/branch/main/src/buhtzology/__init_...
But when I click on the "source" link in the pydoctor-generated HTML docu it points to
https://codeberg.org/buhtz/buhtzology/src/buhtzology/__init__.py
You see the problem?
Hi, On Sat, 23 Jul 2022 at 11:06, <c.buhtz@posteo.jp> wrote:
Hello again,
maybe it is because of holiday time that there is no answer yet? ;)
Or should I better open an Issue about it?
I think that GitHub is better in this case. As far as I can tell, pydoctor has a single maintainer right now - Tristan He is not very active on the mailing list. But he is active on GitHub. Cheers
Kind Christian
On 2022-07-18 17:48 <c.buhtz@posteo.jp> wrote:
My repository is here https://codeberg.org/buhtz/buhtzology
I assume this URL is the value I have to use for the "html-viewsource-base" argument when calling pydoctor. Am I right?
For example the "landing page" is related to that __init__.py file in my repo https://codeberg.org/buhtz/buhtzology/src/branch/main/src/buhtzology/__init_...
But when I click on the "source" link in the pydoctor-generated HTML docu it points to
https://codeberg.org/buhtz/buhtzology/src/buhtzology/__init__.py
You see the problem?
Twisted mailing list -- twisted@python.org To unsubscribe send an email to twisted-leave@python.org https://mail.python.org/mailman3/lists/twisted.python.org/ Message archived at https://mail.python.org/archives/list/twisted@python.org/message/65QGWWNQKCD... Code of Conduct: https://twisted.org/conduct
-- Adi Roiban
participants (2)
-
Adi Roiban
-
c.buhtz@posteo.jp