Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OrcaSong
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Machine Learning
OrcaSong
Commits
e7abcd8c
Commit
e7abcd8c
authored
6 years ago
by
Michael Moser
Browse files
Options
Downloads
Patches
Plain Diff
Add version info.
parent
6049333a
No related branches found
No related tags found
No related merge requests found
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/conf.py
+8
-5
8 additions, 5 deletions
docs/conf.py
with
8 additions
and
5 deletions
docs/conf.py
+
8
−
5
View file @
e7abcd8c
...
@@ -14,21 +14,24 @@
...
@@ -14,21 +14,24 @@
#
#
import
os
import
os
import
sys
import
sys
from
datetime
import
date
from
pkg_resources
import
get_distribution
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'
../..
'
))
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'
../..
'
))
#
sys.path.insert(0, os.path.abspath('.'))
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'
.
'
))
import
orcasong
import
orcasong
# -- Project information -----------------------------------------------------
# -- Project information -----------------------------------------------------
project
=
'
OrcaSong
'
project
=
'
OrcaSong
'
copyright
=
'
2018
, Michael Moser
'
copyright
=
u
'
{0}
, Michael Moser
'
.
format
(
date
.
today
().
year
)
author
=
'
Michael Moser
'
author
=
'
Michael Moser
'
# The short X.Y version
version
=
''
# The full version, including alpha/beta/rc tags
# The full version, including alpha/beta/rc tags
release
=
''
release
=
get_distribution
(
'
orcasong
'
).
version
# The short X.Y version
version
=
'
.
'
.
join
(
release
.
split
(
'
.
'
)[:
2
])
# -- General configuration ---------------------------------------------------
# -- General configuration ---------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment