Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HySoP-doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container 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
particle_methods
HySoP-doc
Commits
7aa54c85
Commit
7aa54c85
authored
5 months ago
by
EXT Jean-Matthieu Etancelin
Browse files
Options
Downloads
Patches
Plain Diff
update
parent
47a51606
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#200225
passed
5 months ago
Stage: create_doc_img
Stage: doc
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build_doc.sh
+7
-11
7 additions, 11 deletions
build_doc.sh
conf.py.in
+1
-1
1 addition, 1 deletion
conf.py.in
with
8 additions
and
12 deletions
build_doc.sh
+
7
−
11
View file @
7aa54c85
...
...
@@ -4,6 +4,8 @@ set -eux -o pipefail
ROOT_DIR
=
"
$(
pwd
)
/hysop"
BUILD_DIR
=
"
$(
pwd
)
/build"
INSTALL_DIR
=
"
$(
pwd
)
/install"
CI_DIR
=
"
$(
pwd
)
"
mkdir
-p
${
CI_DIR
}
/logs
# as artifact in gitlab-ci
# Get sources for API documentation
git clone
--depth
1 https://gricad-gitlab.univ-grenoble-alpes.fr/particle_methods/hysop.git
...
...
@@ -15,18 +17,12 @@ cp -r _static devel examples install_guide getting_started reference users_guide
cd
hysop
FC
=
mpif90 meson setup
${
BUILD_DIR
}
--python
.install-env prefix
--prefix
=
${
INSTALL_DIR
}
-DWITH_DOCUMENTATION
=
ON
meson compile
-C
${
BUILD_DIR
}
# Tweak meson builddir: move the f2hysop*so file into hysop python files.
find
${
BUILD_DIR
}
-name
'f2hysop*so'
-exec
cp
'{}'
${
BUILD_DIR
}
/hysop/.
\;
# Tweak python path for nbsphinx
export
PYTHONPATH
=
${
BUILD_DIR
}
meson compile
-C
${
BUILD_DIR
}
docs
HYSOP_VERBOSE
=
false
meson compile
-C
${
BUILD_DIR
}
doctest
meson
install
-C
${
BUILD_DIR
}
# Docs needs to find an proper installed hysop (i.e. finding f2hysop.so)
ln
-s
${
CI_DIR
}
/logs
${
BUILD_DIR
}
/docs/logs
# trik to keep logs in ci artifacts even in case of failure
meson compile
-C
${
BUILD_DIR
}
docs
meson compile
-C
${
BUILD_DIR
}
doctest
cd
-
mv
${
BUILD_DIR
}
/docs/build/html public
mkdir
-p
logs
find
${
BUILD_DIR
}
-name
doxygen.log
-exec
mv
'{}'
logs/.
\;
find
${
BUILD_DIR
}
-name
sphinx.log
-exec
mv
'{}'
logs/.
\;
mv
${
BUILD_DIR
}
/docs/build/html
${
CI_DIR
}
/public
# as artifact in gitlab-ci
rm
-rf
${
BUILD_DIR
}
${
ROOT_DIR
}
${
INSTALL_DIR
}
exit
0
This diff is collapsed.
Click to expand it.
conf.py.in
+
1
−
1
View file @
7aa54c85
...
...
@@ -43,7 +43,7 @@ extensions = [
'nbsphinx',
'sphinxcontrib.doxylink']
sys.path.insert(0, "@HYSOP_
BUILD_
PYTHONPATH@")
sys.path.insert(0, "@HYSOP_PYTHONPATH@
/hysop
")
numpydoc_class_members_toctree = True
numpydoc_show_class_members = False
# Napoleon settings
...
...
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