Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e8e7fb61
Commit
e8e7fb61
authored
Jan 05, 2011
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#10130: Prepare for building epub-format docs.
parent
8939cc5d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
0 deletions
+23
-0
Doc/Makefile
Doc/Makefile
+16
-0
Doc/README.txt
Doc/README.txt
+3
-0
Doc/tools/sphinxext/download.html
Doc/tools/sphinxext/download.html
+4
-0
No files found.
Doc/Makefile
View file @
e8e7fb61
...
...
@@ -26,6 +26,7 @@ help:
@
echo
" htmlhelp to make HTML files and a HTML help project"
@
echo
" latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@
echo
" text to make plain text files"
@
echo
" epub to make EPUB files"
@
echo
" changes to make an overview over all changed/added/deprecated items"
@
echo
" linkcheck to check all external links for integrity"
@
echo
" coverage to check documentation coverage for library and C API"
...
...
@@ -81,6 +82,10 @@ text: BUILDER = text
text
:
build
@
echo
"Build finished; the text files are in build/text."
epub
:
BUILDER = epub
epub
:
build
@
echo
"Build finished; the epub files are in build/epub."
changes
:
BUILDER = changes
changes
:
build
@
echo
"The overview file is in build/changes."
...
...
@@ -158,6 +163,17 @@ dist:
cp
build/latex/docs-pdf.zip
dist/python-$(DISTVERSION)-docs-pdf-letter.zip
cp
build/latex/docs-pdf.tar.bz2
dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2
# archive the epub build
rm
-rf
build/epub
make
epub
mkdir
-p
dist/python-$(DISTVERSION)-docs-epub
cp
-pPR
build/epub/*.epub
dist/python-$(DISTVERSION)-docs-epub/
tar
-C
dist
-cf
dist/python-$(DISTVERSION)-docs-epub.tar
python-$(DISTVERSION)-docs-epub
bzip2
-9
-k
dist/python-$(DISTVERSION)-docs-epub.tar
(cd
dist;
zip
-q
-r
-9
python-$(DISTVERSION)-docs-epub.zip
python-$(DISTVERSION)-docs-epub)
rm
-r
dist/python-$(DISTVERSION)-docs-epub
rm
dist/python-$(DISTVERSION)-docs-epub.tar
check
:
$(PYTHON)
tools/rstlint.py
-i
tools
...
...
Doc/README.txt
View file @
e8e7fb61
...
...
@@ -54,6 +54,9 @@ Available make targets are:
* "text", which builds a plain text file for each source file.
* "epub", which builds an EPUB document, suitable to be viewed on e-book
readers.
* "linkcheck", which checks all external references to see whether they are
broken, redirected or malformed, and outputs this information to stdout as
well as a plain-text (.txt) file.
...
...
Doc/tools/sphinxext/download.html
View file @
e8e7fb61
...
...
@@ -33,6 +33,10 @@ in the table are the size of the download files in megabytes.</p>
<td><a
href=
"{{ dlbase }}/python-{{ release }}-docs-text.zip"
>
Download
</a>
(ca. 2 MB)
</td>
<td><a
href=
"{{ dlbase }}/python-{{ release }}-docs-text.tar.bz2"
>
Download
</a>
(ca. 1.5 MB)
</td>
</tr>
<tr><td>
EPUB
</td>
<td><a
href=
"{{ dlbase }}/python-{{ release }}-docs-epub.zip"
>
Download
</a>
(ca. 3.5 MB)
</td>
<td><a
href=
"{{ dlbase }}/python-{{ release }}-docs-epub.tar.bz2"
>
Download
</a>
(ca. 3.5 MB)
</td>
</tr>
</table>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment