This repository has been archived by the owner on Mar 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
72 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
# All configuration values have a default; values that are commented out | ||
# serve to show the default. | ||
|
||
import sys, os | ||
import sys, os, re | ||
|
||
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the | ||
|
@@ -56,10 +56,15 @@ | |
# |version| and |release|, also used in various other places throughout the | ||
# built documents. | ||
# | ||
# The short X.Y version. | ||
version = '0.3' | ||
# The full version, including alpha/beta/rc tags. | ||
release = '0.3.0-dev' | ||
try: | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
wlbksy
via email
Author
Member
|
||
# The full version, including alpha/beta/rc tags. | ||
with open("../VERSION") as f: | ||
release = f.read().rstrip() | ||
# The short X.Y version. | ||
version = '.'.join(re.split('[.-]', release)[:2]) | ||
except: | ||
release = 'X.Y.Z-unknown' | ||
version = 'X.Y' | ||
|
||
# The language for content autogenerated by Sphinx. Refer to documentation | ||
# for a list of supported languages. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -405,6 +405,9 @@ It will be evaluated and returned depending on the preceding conditionals: | |
(2,3) | ||
(2,4) | ||
|
||
A ``break`` statement inside such a loop exits the entire nest of loops, | ||
This comment has been minimized.
Sorry, something went wrong.
GaZ3ll3
Contributor
|
||
not just the inner one. | ||
|
||
.. _man-exception-handling: | ||
|
||
异常处理 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
虽然不是太重要,但是我们没有上级目录的VERSION, 我建议把JuliaLang的VERSION拖到同级目录,把那个
改了
不然pdf上会有个X.Y.Z-unknown...略蛋疼。