Skip to content

Commit

Permalink
eliminate readme links sections if noapi
Browse files Browse the repository at this point in the history
  • Loading branch information
craigahobbs committed Apr 11, 2024
1 parent 90e9ec7 commit fd37710
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
6 changes: 3 additions & 3 deletions template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
Coming soon!


{% if noapi is not defined or not noapi -%}
## Links

{% if noapi is not defined or not noapi -%}
- [API Documentation](https://{{github}}.github.io/{{package}}/)
{% endif -%}
- [Source code](https://github.com/{{github}}/{{package}})
- [Source code](https://github.com/{{github}}/{{package}})


{% endif -%}
## Development

This package is developed using [python-build](https://github.com/craigahobbs/python-build#readme).
Expand Down
5 changes: 0 additions & 5 deletions test-expected/noapi-nomain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
Coming soon!


## Links

- [Source code](https://github.com/johndoe/my-package)


## Development

This package is developed using [python-build](https://github.com/craigahobbs/python-build#readme).
Expand Down
5 changes: 0 additions & 5 deletions test-expected/noapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
Coming soon!


## Links

- [Source code](https://github.com/johndoe/my-package)


## Development

This package is developed using [python-build](https://github.com/craigahobbs/python-build#readme).
Expand Down

0 comments on commit fd37710

Please sign in to comment.