-
What's happening?
Reproducer
ExpectationBuild happens without any problems (as it does with the default Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Answered by
pradyunsg
Aug 31, 2021
Replies: 2 comments 2 replies
-
I can't reproduce this. This is probably related to how Furo has been repackaged for your environment. Please provide the output of ~/Downloads/petunia_dursley
❯ python3.9 -m venv .venv
~/Downloads/petunia_dursley
❯ . ./.venv/bin/activate
~/Downloads/petunia_dursley petunia_dursley
❯ g show HEAD --stat
commit 832c32cc923dcf43954e34a76c5b296e9a3ae7dd (HEAD -> master, origin/master, origin/HEAD)
Author: Matěj Cepl <[email protected]>
Date: Tue Aug 31 20:21:40 2021 +0200
Before testing Sphinx furo
01-foreign_police.rst | 11 ++++++-----
07-flying_pigs.rst | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
conf.py | 3 ++-
3 files changed, 63 insertions(+), 7 deletions(-)
~/Downloads/petunia_dursley petunia_dursley
❯ git status -sb
## master...origin/master
~/Downloads/petunia_dursley petunia_dursley
❯ pip install sphinx furo
Collecting sphinx
Using cached Sphinx-4.1.2-py3-none-any.whl (2.9 MB)
Collecting furo
Downloading furo-2021.8.31-py3-none-any.whl (69 kB)
|████████████████████████████████| 69 kB 2.1 MB/s
Collecting packaging
Using cached packaging-21.0-py3-none-any.whl (40 kB)
Collecting sphinxcontrib-applehelp
Using cached sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
Collecting sphinxcontrib-serializinghtml>=1.1.5
Using cached sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB)
Collecting sphinxcontrib-htmlhelp>=2.0.0
Using cached sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB)
Collecting requests>=2.5.0
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting docutils<0.18,>=0.14
Using cached docutils-0.17.1-py2.py3-none-any.whl (575 kB)
Requirement already satisfied: setuptools in ./.venv/lib/python3.9/site-packages (from sphinx) (56.0.0)
Collecting sphinxcontrib-devhelp
Using cached sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
Collecting Pygments>=2.0
Using cached Pygments-2.10.0-py3-none-any.whl (1.0 MB)
Collecting sphinxcontrib-qthelp
Using cached sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
Collecting Jinja2>=2.3
Using cached Jinja2-3.0.1-py3-none-any.whl (133 kB)
Collecting sphinxcontrib-jsmath
Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting alabaster<0.8,>=0.7
Using cached alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting imagesize
Using cached imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB)
Collecting babel>=1.3
Using cached Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
Collecting snowballstemmer>=1.1
Using cached snowballstemmer-2.1.0-py2.py3-none-any.whl (93 kB)
Collecting pytz>=2015.7
Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting MarkupSafe>=2.0
Using cached MarkupSafe-2.0.1-cp39-cp39-macosx_10_9_universal2.whl (18 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.4-py3-none-any.whl (36 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Collecting idna<4,>=2.5
Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting beautifulsoup4
Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Collecting soupsieve>1.2
Using cached soupsieve-2.2.1-py3-none-any.whl (33 kB)
Collecting pyparsing>=2.0.2
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Installing collected packages: urllib3, pytz, pyparsing, MarkupSafe, idna, charset-normalizer, certifi, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, soupsieve, snowballstemmer, requests, Pygments, packaging, Jinja2, imagesize, docutils, babel, alabaster, sphinx, beautifulsoup4, furo
Successfully installed Jinja2-3.0.1 MarkupSafe-2.0.1 Pygments-2.10.0 alabaster-0.7.12 babel-2.9.1 beautifulsoup4-4.9.3 certifi-2021.5.30 charset-normalizer-2.0.4 docutils-0.17.1 furo-2021.8.31 idna-3.2 imagesize-1.2.0 packaging-21.0 pyparsing-2.4.7 pytz-2021.1 requests-2.26.0 snowballstemmer-2.1.0 soupsieve-2.2.1 sphinx-4.1.2 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-1.26.6
WARNING: You are using pip version 21.1.3; however, version 21.2.4 is available.
You should consider upgrading via the '/Users/pradyunsg/Downloads/petunia_dursley/.venv/bin/python3.9 -m pip install --upgrade pip' command.
~/Downloads/petunia_dursley petunia_dursley ············································································
❯ python -m sphinx -b html . _build
Running Sphinx v4.1.2
loading translations [en_GB]... not available for built-in messages
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 16 source files that are out of date
updating environment: [new config] 16 added, 0 changed, 0 removed
reading sources... [100%] index
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/sphinx/ext/autosummary/templates/autosummary/base.rst:3: WARNING: Error in "currentmodule" directive:
maximum 1 argument(s) allowed, 3 supplied.
.. currentmodule:: {{ module }}
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/sphinx/ext/autosummary/templates/autosummary/class.rst:3: WARNING: Error in "currentmodule" directive:
maximum 1 argument(s) allowed, 3 supplied.
.. currentmodule:: {{ module }}
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/sphinx/ext/autosummary/templates/autosummary/class.rst:5: WARNING: Unknown directive type "autoclass".
.. autoclass:: {{ objname }}
{% block methods %}
.. automethod:: __init__
{% if methods %}
.. rubric:: {{ _('Methods') }}
.. autosummary::
{% for item in methods %}
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block attributes %}
{% if attributes %}
.. rubric:: {{ _('Attributes') }}
.. autosummary::
{% for item in attributes %}
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst:3: WARNING: Unknown directive type "automodule".
.. automodule:: {{ fullname }}
{% block attributes %}
{% if attributes %}
.. rubric:: {{ _('Module Attributes') }}
.. autosummary::
{% for item in attributes %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block functions %}
{% if functions %}
.. rubric:: {{ _('Functions') }}
.. autosummary::
{% for item in functions %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block classes %}
{% if classes %}
.. rubric:: {{ _('Classes') }}
.. autosummary::
{% for item in classes %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block exceptions %}
{% if exceptions %}
.. rubric:: {{ _('Exceptions') }}
.. autosummary::
{% for item in exceptions %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst:53: WARNING: Unknown directive type "autosummary".
.. autosummary::
:toctree:
:recursive:
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst:56: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst:58: WARNING: Definition list ends without a blank line; unexpected unindent.
looking for now-outdated files... none found
pickling environment... done
checking consistency... /Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/Jinja2-3.0.1.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/MarkupSafe-2.0.1.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/alabaster-0.7.12.dist-info/DESCRIPTION.rst: WARNING: document isn't included in any toctree
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/imagesize-1.2.0.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/pytz-2021.1.dist-info/DESCRIPTION.rst: WARNING: document isn't included in any toctree
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/sphinx/ext/autosummary/templates/autosummary/base.rst: WARNING: document isn't included in any toctree
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/sphinx/ext/autosummary/templates/autosummary/class.rst: WARNING: document isn't included in any toctree
/Users/pradyunsg/Downloads/petunia_dursley/.venv/lib/python3.9/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [100%] index
generating indices... genindex done
writing additional pages... search done
copying images... [100%] .static/frantisek_xaversky.jpg
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 15 warnings.
The HTML pages are in _build. The documentation builds just fine -- you need to include autodoc in your environment though. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pradyunsg
-
Oh well. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't reproduce this. This is probably related to how Furo has been repackaged for your environment. Please provide the output of
python3 -m pip list
as I requested earlier.