Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sshuttle
Project
Project
Details
Activity
Releases
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
pub
sshuttle
Commits
c093b4bd
Commit
c093b4bd
authored
Jul 08, 2017
by
Brian May
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get version for sphinx from sshuttle.version
parent
e76d1e14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
changes.rst
docs/changes.rst
+0
-3
conf.py
docs/conf.py
+7
-6
No files found.
docs/changes.rst
View file @
c093b4bd
Changelog
---------
.. include:: ../CHANGES.rst
docs/conf.py
View file @
c093b4bd
...
...
@@ -13,9 +13,10 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
# import sys
# import os
from
setuptools_scm
import
get_version
import
sys
import
os
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'..'
))
import
sshuttle.version
# NOQA
# 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
...
...
@@ -54,10 +55,10 @@ copyright = '2016, Brian May'
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version
=
get_version
(
root
=
".."
)
# The full version, including alpha/beta/rc tags.
release
=
version
release
=
sshuttle
.
version
.
version
# The short X.Y version.
version
=
'.'
.
join
(
release
.
split
(
'.'
)[:
2
])
# The language for content autogenerated by Sphinx. Refer to documentation
# 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