Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FORCES
Manage
Activity
Members
Labels
Plan
Issues
13
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CHS
FORCES
Commits
715ada6b
Commit
715ada6b
authored
1 year ago
by
Sebastian Müller
🐈
Browse files
Options
Downloads
Patches
Plain Diff
doc: remove file listings from pdf output
parent
0b7f9eef
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!77
CI: update gitlab-runner to new EVE OS
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-1
11 additions, 1 deletion
.gitlab-ci.yml
with
11 additions
and
1 deletion
.gitlab-ci.yml
+
11
−
1
View file @
715ada6b
...
...
@@ -108,7 +108,17 @@ show-env-vars:
# checkout latest tag if there is at least one (and only for stable docs)
-
if [ $(git rev-list --tags --max-count=1) ] && [ $DOC_TYPE == "stable" ]; then git checkout $(git describe --tags $(git rev-list --tags --max-count=1)); fi
-
export PROJECT_NUMBER="$(cat version.txt)"
-
doxygen doc/doxygen.config > doxygen_log_${DOC_TYPE}.txt 2>&1
# doxygen_log_stable.txt
# create html documentation
-
sed -i '/GENERATE_LATEX.*=/s/^.*$/GENERATE_LATEX = NO/' doc/doxygen.config
-
doxygen doc/doxygen.config > doxygen_log_${DOC_TYPE}_html.txt 2>&1
# create pdf documentation (no files and namespaces there)
-
sed -i '/GENERATE_HTML.*=/s/^.*$/GENERATE_HTML = NO/' doc/doxygen.config
-
sed -i '/GENERATE_LATEX.*=/s/^.*$/GENERATE_LATEX = YES/' doc/doxygen.config
-
sed -i '/SHOW_FILES.*=/s/^.*$/SHOW_FILES = NO/' doc/doxygen.config
-
sed -i '/SHOW_NAMESPACES.*=/s/^.*$/SHOW_NAMESPACES = NO/' doc/doxygen.config
-
sed -i '/ALPHABETICAL_INDEX.*=/s/^.*$/ALPHABETICAL_INDEX = NO/' doc/doxygen.config
-
doxygen doc/doxygen.config > doxygen_log_${DOC_TYPE}_latex.txt 2>&1
# copy files
-
cd latex/ && make > ../doxygen_latex_${DOC_TYPE}.txt 2>&1
# ../doxygen_latex_stable.txt
-
cp refman.pdf ../html/forces_doc.pdf
# same name always
-
cp refman.pdf ../forces_doc_${DOC_TYPE}.pdf
# ../forces_doc_stable.pdf
...
...
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