Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build on Read the Docs #24

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

Merged
merged 17 commits into from
May 2, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make the build to use the proper sourcedir
  • Loading branch information
humitos committed May 1, 2020
commit 68151c5900af84bc7a199f5b4b79dc00d1274663
7 changes: 6 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
html_split_index = True

# Relative filename of the reference count data file.
refcount_file = 'cpython/Doc/data/refcounts.dat'
refcount_file = 'data/refcounts.dat'


os.system('mkdir -p cpython/locales/es/')
Expand All @@ -99,3 +99,8 @@

gettext_compact = False
locale_dirs = ['cpython/locales']


def setup(app):
# Change the sourcedir programmatically because Read the Docs always call it with `.`
app.srcdir = 'cpython/Doc'