forked from modelica/fmi-standard
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename fmi_specification.adoc to index.adoc (modelica#592)
to follow Asciidoctor best practices and simplify deployment
- Loading branch information
1 parent
c805050
commit 7e5b286
Showing
3 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,15 +18,15 @@ jobs: | |
python .circleci/validate_xml.py | ||
- run: | ||
name: Generate HTML | ||
command: docker run -v ~/project/:/documents/ --name asciidoc-to-html asciidoctor/docker-asciidoctor asciidoctor --base-dir /documents/ --backend html5 --failure-level WARN docs/fmi_specification.adoc | ||
command: docker run -v ~/project/:/documents/ --name asciidoc-to-html asciidoctor/docker-asciidoctor asciidoctor --base-dir /documents/ --backend html5 --failure-level WARN docs/index.adoc | ||
- run: | ||
name: Validate HTML | ||
command: docker run -v ~/project/docs/:/documents/ 18fgsa/html-proofer /documents --only-4xx | ||
- run: | ||
name: Create archive | ||
command: | | ||
cd ~/project | ||
zip fmi-standard.zip README.adoc CHANGELOG.adoc LICENSE.txt docs/fmi_specification.html docs/fmi-spec.css docs/images/* headers/*.h schema/*.xsd | ||
zip fmi-standard.zip README.adoc CHANGELOG.adoc LICENSE.txt docs/index.html docs/fmi-spec.css docs/images/* headers/*.h schema/*.xsd | ||
- store_artifacts: | ||
path: ~/project/fmi-standard.zip | ||
- run: | ||
|
@@ -39,7 +39,6 @@ jobs: | |
git clone [email protected]:modelica/fmi-standard.org.git | ||
rsync -a --delete --exclude *.adoc ~/project/docs/ ~/fmi-standard.org/docs/3.0-dev/ | ||
cd fmi-standard.org | ||
mv docs/3.0-dev/fmi_specification.html docs/3.0-dev/index.html | ||
git add docs/3.0-dev | ||
git commit -m "Update generated specification from fmi-standard (${CIRCLE_SHA1:0:7})" || echo "No changes to commit" | ||
git push | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.