Skip to content

Commit 50b5729

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master'
2 parents 1ac89fa + d5ecbcd commit 50b5729

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,24 @@ jobs:
7373
push: ${{ github.event_name != 'pull_request' }}
7474
tags: ${{ steps.meta.outputs.tags }}
7575
labels: ${{ steps.meta.outputs.labels }}
76+
update-gh-pages:
77+
if: startsWith(github.ref, 'refs/tags/v')
78+
name: Generate and upload new GitHub Pages
79+
runs-on: ubuntu-latest
80+
needs:
81+
- push-to-registries
82+
steps:
83+
- name: Check out the repo
84+
uses: actions/checkout@v2
85+
with:
86+
fetch-depth: 0
87+
- name: Run action
88+
uses: ./
89+
with:
90+
src: .
91+
dst: ./result
92+
- name: Deploy GH Pages
93+
uses: peaceiris/actions-gh-pages@v3
94+
with:
95+
github_token: ${{ secrets.GITHUB_TOKEN }}
96+
publish_dir: ./result

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- master
7+
paths:
8+
- "*.md"
9+
- "**/*.md"
710

811
jobs:
912
update-gh-pages:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ COPY --from=builder /home/dst /var/www/static/
4545
```
4646
This means that first docker stage creates a container where it runs the makedocs script, then will copy the resulting, generated HTML files in the production image, specifically in `/var/www/static`. This can be useful for your static website hosting. See [the Wiki](https://github.com/ldeluigi/markdown-docs/wiki) for more examples.
4747

48-
## Documenting your software
48+
## Notes about documenting your software
4949
The idea behind **markdown-docs** is that all the documentation that can be written in separate files from the code should be mantained like the code documentation, that is thinking about the content and not the appearence. In addition, some of the most important tools for documentation are UML diagrams. In particular, one of the most maintainable way to draw UMLs is [PlantUML](https://plantuml.com/), which can generate UML diagrams for a text specification.
5050
One of the most important features of **markdown-docs** is the support of PlantUML syntax embedded inside documentation sources, in Markdown.

0 commit comments

Comments
 (0)