Skip to content

Commit

Permalink
- build docs only of there are docs changes
Browse files Browse the repository at this point in the history
- adjust header logo and header link for docs
- badges update
  • Loading branch information
Articus committed Mar 10, 2024
1 parent 910f912 commit 375b921
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- master
paths:
- 'docs/**'
workflow_dispatch:

permissions:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Path Handler

[![GitHub Actions: Run tests](https://github.com/Articus/PathHandler/workflows/Run%20tests/badge.svg)](https://github.com/Articus/PathHandler/actions?query=workflow%3A%22Run+tests%22)
[![Documentation](https://readthedocs.org/projects/pathhandler/badge/?version=latest)](http://pathhandler.readthedocs.io/en/latest/?badge=latest)
[![Run tests](https://github.com/Articus/PathHandler/actions/workflows/run-tests.yml/badge.svg)](https://github.com/Articus/PathHandler/actions/workflows/run-tests.yml)
[![Publish docs](https://github.com/Articus/PathHandler/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/Articus/PathHandler/actions/workflows/publish-docs.yml)
[![Coveralls](https://coveralls.io/repos/github/Articus/PathHandler/badge.svg?branch=master)](https://coveralls.io/github/Articus/PathHandler?branch=master)
[![Codacy](https://app.codacy.com/project/badge/Grade/02dc4cfb69e34079ab380593fe5f4f70)](https://app.codacy.com/gh/Articus/PathHandler/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)

Expand Down
2 changes: 2 additions & 0 deletions docs/cfg/buildprofiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<build-profile instance="docs">
<variables>
<noindex-content>false</noindex-content>
<header-logo>https://avatars.githubusercontent.com/u/358544</header-logo>
<product-web-url>https://github.com/Articus/PathHandler</product-web-url>
</variables>
</build-profile>
</buildprofiles>

0 comments on commit 375b921

Please sign in to comment.