Skip to content
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

Cant compile html docs #91339

Closed
MaxwellDupre mannequin opened this issue Mar 31, 2022 · 3 comments
Closed

Cant compile html docs #91339

MaxwellDupre mannequin opened this issue Mar 31, 2022 · 3 comments
Labels
3.11 only security fixes build The build process and cross-build docs Documentation in the Doc dir

Comments

@MaxwellDupre
Copy link
Mannequin

MaxwellDupre mannequin commented Mar 31, 2022

BPO 47183
Nosy @zware, @MaxwellDupre

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2022-04-01.09:04:13.015>
created_at = <Date 2022-03-31.16:17:03.272>
labels = ['3.11', 'build', 'docs']
title = 'Cant compile html docs'
updated_at = <Date 2022-04-01.09:04:13.015>
user = 'https://github.com/MaxwellDupre'

bugs.python.org fields:

activity = <Date 2022-04-01.09:04:13.015>
actor = 'mikecmcleod'
assignee = 'docs@python'
closed = True
closed_date = <Date 2022-04-01.09:04:13.015>
closer = 'mikecmcleod'
components = ['Documentation']
creation = <Date 2022-03-31.16:17:03.272>
creator = 'mikecmcleod'
dependencies = []
files = []
hgrepos = []
issue_num = 47183
keywords = []
message_count = 3.0
messages = ['416448', '416449', '416478']
nosy_count = 3.0
nosy_names = ['docs@python', 'zach.ware', 'mikecmcleod']
pr_nums = []
priority = 'normal'
resolution = 'works for me'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue47183'
versions = ['Python 3.11']

@MaxwellDupre
Copy link
Mannequin Author

MaxwellDupre mannequin commented Mar 31, 2022

After sync'ing to upstream/main and then
python/Doc on  main via 🐍 v3.11.0a6+
❯ make html
mkdir -p build
Building NEWS from Misc/NEWS.d with blurb
PATH=./venv/bin:$PATH sphinx-build -b html -d build/doctrees -W . build/html
Running Sphinx v3.5.4
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 495 source files that are out of date
updating environment: [new config] 495 added, 0 changed, 0 removed
reading sources... [100%] whatsnew/index
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... failed

Warning, treated as error:
unsupported theme option 'license_url' given
make: *** [Makefile:53: build] Error 2

No changes to source.

@MaxwellDupre MaxwellDupre mannequin added the 3.11 only security fixes label Mar 31, 2022
@MaxwellDupre MaxwellDupre mannequin assigned docspython Mar 31, 2022
@MaxwellDupre MaxwellDupre mannequin added docs Documentation in the Doc dir build The build process and cross-build 3.11 only security fixes labels Mar 31, 2022
@MaxwellDupre MaxwellDupre mannequin assigned docspython Mar 31, 2022
@MaxwellDupre MaxwellDupre mannequin added docs Documentation in the Doc dir build The build process and cross-build labels Mar 31, 2022
@zware
Copy link
Member

zware commented Mar 31, 2022

You have a rather old version of Sphinx; the 3.11 docs are built with v4.5.0. Try make clean-venv venv html?

@MaxwellDupre
Copy link
Mannequin Author

MaxwellDupre mannequin commented Apr 1, 2022

Works for me. The command installed the correct version of Sphinx.
Thanks.

@MaxwellDupre MaxwellDupre mannequin closed this as completed Apr 1, 2022
@MaxwellDupre MaxwellDupre mannequin closed this as completed Apr 1, 2022
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes build The build process and cross-build docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant