Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-wiki
Commits
22936c39
Commit
22936c39
authored
Nov 14, 2013
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Automating version number for sphinx
parent
f232fd65
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
docs/__init__.py
+0
-0
docs/build.sh
+4
-0
docs/conf.py
+19
-3
No files found.
docs/__init__.py
0 → 100644
View file @
22936c39
docs/build.sh
0 → 100755
View file @
22936c39
#!/bin/bash
#sphinx-build -b html . _build
make html
docs/conf.py
View file @
22936c39
...
@@ -41,16 +41,32 @@ master_doc = 'index'
...
@@ -41,16 +41,32 @@ master_doc = 'index'
# General information about the project.
# General information about the project.
project
=
u'django-wiki'
project
=
u'django-wiki'
copyright
=
u'2012, Benjamin Bach'
copyright
=
u'2013, Benjamin Bach'
path
=
os
.
path
.
join
(
os
.
path
.
split
(
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
)
)
)[:
-
1
]
)[
0
]
sys
.
path
=
[
path
]
+
sys
.
path
sys
.
path
=
[
os
.
path
.
join
(
path
,
'wiki'
)]
+
sys
.
path
import
wiki
print
wiki
.
__file__
# The version info for the project you're documenting, acts as replacement for
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# |version| and |release|, also used in various other places throughout the
# built documents.
# built documents.
#
#
# The short X.Y version.
# The short X.Y version.
version
=
'0.1'
version
=
"."
.
join
(
wiki
.
VERSION
.
split
(
"."
)[:
-
1
])
# The full version, including alpha/beta/rc tags.
# The full version, including alpha/beta/rc tags.
release
=
'0.1.1'
release
=
wiki
.
VERSION
# The language for content autogenerated by Sphinx. Refer to documentation
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# for a list of supported languages.
...
...
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