@@ -73,13 +73,13 @@ later can protect your example from future modifications to the code.
7373` :end-at: ` options. And if the example code is Python, ` :pyobject: ` can be an even more future-proof way to keep the
7474same documentation content even through code refactors.
7575
76- If you need example code that doesn't yet exist in ` examples/ ` see (#creating-code-for-documentation).
76+ If you need example code that doesn't yet exist in ` examples/ ` see [ ] ( #creating-code-for-documentation ) .
7777
7878### Creating code for documentation
7979
8080Whenever you come across a place that could benefit from a code block, instead of writing it in-line with a code fence
8181(`` ``` `` blocked text) you can write it as a file in its own format. Your example may even already exist; see
82- (#referencing-code-in-documentation).
82+ [ ] ( #referencing-code-in-documentation ) .
8383
8484If you need a net new example and it doesn't fit into any existing example files, you can create a new file and
8585reference it in a ` literalinclude ` . If it makes sense for that file to live within one of the existing example
@@ -92,7 +92,7 @@ instance, add new functions to the end of the file, new methods after all existi
9292Example code is checked for correctness, so adding a new example may require adding additional tests for coverage, and
9393will require fixing any failing tests.
9494
95- *** WARNING*** : great care should be taken when modifying existing example code, especially any modification beyond
95+ *** ⚠️ WARNING*** : great care should be taken when modifying existing example code, especially any modification beyond
9696appending to the end of the file. All code examples are (potentially) shared examples. This makes for more consistent
9797examples in the guide but can mean action-at-a-distance when modifying the examples for one particular use case.
9898If you find yourself modifying existing examples try running this command and then checking those pages in a new build.
0 commit comments