Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
w2pext
plugin_dbui
Commits
68697732
Commit
68697732
authored
Dec 05, 2019
by
LE GAC Renaud
Browse files
Polish documentations.
parent
749b7104
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
docs/plugin_dbui/api/conf.py
docs/plugin_dbui/api/conf.py
+1
-1
docs/plugin_dbui/reference/conf.py
docs/plugin_dbui/reference/conf.py
+5
-7
No files found.
docs/plugin_dbui/api/conf.py
View file @
68697732
...
...
@@ -218,7 +218,7 @@ latex_elements = {
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents
=
[
(
"index"
,
"plugin_dbui_api.tex"
,
r
"plugin\_dbui
Documentation
"
,
(
"index"
,
"plugin_dbui_api.tex"
,
r
"plugin\_dbui
API Guide
"
,
"R. Le Gac"
,
"manual"
),
]
...
...
docs/plugin_dbui/reference/conf.py
View file @
68697732
...
...
@@ -17,13 +17,11 @@ import sys
from
datetime
import
datetime
from
pathlib
import
Path
def
get_plugin_dbui_release
():
JSBASE
=
"../../static/plugin_dbui/src/Dbui.js"
s
=
open
(
JSBASE
,
"rb"
).
read
()
m
=
re
.
match
(
'(.+ version: ")([\w._-]*)(".+)'
,
s
,
re
.
DOTALL
)
return
m
.
group
(
2
)
def
get_version
():
return
Path
(
"../../../VERSION"
).
read_text
()
# 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
...
...
@@ -61,7 +59,7 @@ copyright = u"2009-%s by Renaud Le Gac, licensed under CeCILL" % now.year
# built documents.
#
# The full version, including alpha/beta/rc tags.
release
=
get_
plugin_dbui_release
()
release
=
get_
version
()
# The short X.Y version.
version
=
release
[:
release
.
rfind
(
"."
)]
...
...
@@ -197,7 +195,7 @@ latex_elements = {
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents
=
[
(
"index"
,
"plugin_dbui.tex"
,
u
"plugin
\\
_dbui D
ocumentation
"
,
(
"index"
,
"plugin_dbui
_reference
.tex"
,
u
"plugin
\\
_dbui D
eveloper Guide
"
,
u
"R. Le Gac"
,
"manual"
),
]
...
...
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