Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Aditya Vijaykumar
bilby
Commits
2fe1a0de
Commit
2fe1a0de
authored
6 years ago
by
Matthew Pitkin
Browse files
Options
Downloads
Patches
Plain Diff
Fix import of version into docs
parent
e691e935
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/conf.py
+5
-3
5 additions, 3 deletions
docs/conf.py
with
5 additions
and
3 deletions
docs/conf.py
+
5
−
3
View file @
2fe1a0de
...
...
@@ -21,7 +21,6 @@ import sys
import
bilby
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'
../bilby/
'
))
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
...
...
@@ -55,10 +54,13 @@ author = u'Paul Lasky'
# |version| and |release|, also used in various other places throughout the
# built documents.
#
fullversion
=
bilby
.
__version__
.
split
(
'
:
'
)[
0
]
# The short X.Y version.
version
=
bilby
.
__version__
version
=
'
.
'
.
join
(
fullversion
.
split
(
'
.
'
)[:
2
])
# The full version, including alpha/beta/rc tags.
release
=
bilby
.
__
version
__
release
=
full
version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
...
...
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