Skip to content

Commit

Permalink
Add sitemap generator to website for crawling. (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryngelson authored Feb 26, 2024
1 parent 0fdb37a commit 6f54a8e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,22 @@ jobs:
cmake -S . -B build -G Ninja --install-prefix=$(pwd)/build/install -D MFC_DOCUMENTATION=ON
ninja -C build install
# From here https://github.com/cicirello/generate-sitemap
- name: Generate the sitemap
id: sitemap
uses: cicirello/generate-sitemap@v1
with:
base-url-path: https://mflowcode.github.io/
path-to-root: build/install/docs
include-pdf: false
sitemap-format: txt

- name: Output stats
run: |
echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}"
echo "url-count = ${{ steps.sitemap.outputs.url-count }}"
echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"
- name: Publish Documentation
run: |
set +e
Expand Down

0 comments on commit 6f54a8e

Please sign in to comment.