Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit98d70d4

Browse files
authored
Publish documentation on push to develop branch (nlohmann#3660)
👷 add job to publish the documentation
1 parent22cd1c9 commit98d70d4

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name:Publish documentation
2+
3+
# publish the documentation on every merge to develop branch
4+
on:
5+
push:
6+
branches:
7+
-develop
8+
9+
# we don't want to have concurrent jobs, and we don't want to cancel running jobs to avoid broken publications
10+
concurrency:
11+
group:documentation
12+
cancel-in-progress:false
13+
14+
jobs:
15+
publish_documentation:
16+
runs-on:ubuntu-22.04
17+
steps:
18+
-uses:actions/checkout@v3
19+
20+
-name:Install and update PlantUML
21+
run:sudo apt-get install -y plantuml
22+
23+
-name:Install virtual environment
24+
run:make install_venv -C docs/mkdocs
25+
26+
-name:Publish documentation
27+
run:make publish -C docs/mkdocs

‎docs/docset/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
SHELL=/usr/bin/env bash
12
SED ?=$(shell which gsed 2>/dev/null || which sed)
23

34
MKDOCS_PAGES=$(shell cd ../mkdocs/docs/ && find* -type f -name '*.md' | sort)

‎docs/mkdocs/requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ mkdocs-simple-hooks==0.1.5
3030
nltk==3.7
3131
packaging==21.3
3232
plantuml==0.3.0
33-
plantuml-markdown==3.5.2
33+
plantuml-markdown==3.6.3
3434
Pygments==2.11.0
3535
pymdown-extensions==9.3
3636
pyparsing==3.0.8

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp