Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.vein
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
bob
bob.bio.vein
Commits
ac73749e
Verified
Commit
ac73749e
authored
9 months ago
by
Yannick DAYER
Browse files
Options
Downloads
Patches
Plain Diff
doc(config): update to use importlib.metadata.
parent
6e16a5a6
No related branches found
No related tags found
No related merge requests found
Pipeline
#88518
passed
9 months ago
Stage: qa
Stage: test
Stage: doc
Stage: dist
Stage: deploy
Changes
1
Pipelines
8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/conf.py
+6
-6
6 additions, 6 deletions
doc/conf.py
with
6 additions
and
6 deletions
doc/conf.py
+
6
−
6
View file @
ac73749e
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
import
importlib.metadata
import
os
import
time
import
pkg_resources
import
sphinx_rtd_theme
# -- General configuration -----------------------------------------------------
...
...
@@ -74,21 +76,20 @@ master_doc = "index"
# General information about the project.
project
=
"
bob.bio.vein
"
import
time
copyright
=
"
%s, Idiap Research Institute
"
%
time
.
strftime
(
"
%Y
"
)
# Grab the setup entry
distribution
=
pkg_resources
.
require
(
project
)
[
0
]
distribution
=
importlib
.
metadata
.
version
(
project
)
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version
=
distribution
.
version
version
=
distribution
# The full version, including alpha/beta/rc tags.
release
=
distribution
.
version
release
=
distribution
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
...
...
@@ -134,7 +135,6 @@ owner = ["Idiap Research Institute"]
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
import
sphinx_rtd_theme
html_theme
=
"
sphinx_rtd_theme
"
...
...
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