Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple VME FMC Carrier SVEC
Commits
9a059998
Commit
9a059998
authored
Nov 26, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: get version from git
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
da4ccd8a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
Makefile
doc/Makefile
+2
-2
conf.py
doc/conf.py
+0
-6
No files found.
doc/Makefile
View file @
9a059998
...
...
@@ -2,7 +2,7 @@
#
# You can set these variables from the command line.
SPHINXOPTS
=
SPHINXOPTS
=
-Drelease
=
$(
shell
git describe
)
-Dversion
=
$(
shell
git describe |
cut
-d
"-"
-f
1 |
tr
-d
"v"
)
SPHINXBUILD
=
sphinx-build
SOURCEDIR
=
.
BUILDDIR
=
_build
...
...
@@ -16,4 +16,4 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%
:
Makefile
@
$(SPHINXBUILD)
-M
$@
"
$(SOURCEDIR)
"
"
$(BUILDDIR)
"
$(SPHINXOPTS)
$(O)
\ No newline at end of file
@
$(SPHINXBUILD)
-M
$@
"
$(SOURCEDIR)
"
"
$(BUILDDIR)
"
$(SPHINXOPTS)
$(O)
doc/conf.py
View file @
9a059998
...
...
@@ -23,12 +23,6 @@ project = 'SVEC'
copyright
=
'2019, Federico Vaga <federico.vaga@cern.ch>'
author
=
'Federico Vaga <federico.vaga@cern.ch>'
# The short X.Y version
version
=
''
# The full version, including alpha/beta/rc tags
release
=
'v1.4.0'
# -- General configuration ---------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
...
...
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