You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our documentation is using mkdocs-material which generates our website at https://strongbox.github.io/. Since we are using reference links in the docs, it should be, in theory, possible to create a sort of meta markdown page which we can include into other markdown pages. This will reduce the time we would need to spend at fixing internal/external links which could change at any time.
Essentially the idea is to have a markdown page called shared-reference-links.md which contains something like this:
[<!-- Global links which can be shared across all pages such as links to JDK8, system requirements, etc -->]: #
[<!-- Strongbox related links -->]: #
[strongbox-distribution-setup]: ./user-guide/getting-started.md
[hello-strongbox-gradle]: https://github.com/strongbox/strongbox-examples/tree/master/hello-strongbox-gradle
[other-commonly-used-referenced-link]: ./developer-guide/some-page.md
[<!-- External links (grouped by domain, sorted by logic or alphanumerical) -->]: #
[<!-- Gradle links -->]: #
[gradle-homepage]: http://gradle.org/
[gradle-artifact-management]: https://docs.gradle.org/current/userguide/artifact_management.html
[gradle-build-environment]: https://docs.gradle.org/current/userguide/build_environment.html
[gradle-plugins]: https://docs.gradle.org/current/userguide/plugins.html
[gradle-using-tasks]: https://docs.gradle.org/current/userguide/tutorial_using_tasks.html
[spring-gradle-example]:https://spring.io/guides/gs/gradle/
Once you include it into a page you could then simply do:
You need to setup a [Strongbox distribution instance][strongbox-distribution-setup]
Task Description
Our documentation is using mkdocs-material which generates our website at https://strongbox.github.io/. Since we are using reference links in the docs, it should be, in theory, possible to create a sort of
meta
markdown page which we can include into other markdown pages. This will reduce the time we would need to spend at fixing internal/external links which could change at any time.Essentially the idea is to have a markdown page called
shared-reference-links.md
which contains something like this:Once you include it into a page you could then simply do:
and it should result in a correct link:
Tasks
The following tasks will need to be carried out:
Notes
pymdown-extensions
but before you do - checkout Incorrect calculation of reference links when using snippets facelessuser/pymdown-extensions#881.Help
The text was updated successfully, but these errors were encountered: