LP#1848524: Docs: Treat code include as an Antora "example"
authorRemington Steed <rjs7@calvin.edu>
Thu, 24 Oct 2019 13:45:37 +0000 (09:45 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 4 Sep 2020 20:38:31 +0000 (16:38 -0400)
This seems like a case that matches Antora's idea of an "example",
rather than a "partial".

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

docs-antora/modules/development/examples/python_client.py [moved from docs-antora/modules/development/pages/python_client.py with 100% similarity]
docs-antora/modules/development/pages/intro_opensrf.adoc

index 2bce37b..9d245ea 100644 (file)
@@ -1348,7 +1348,7 @@ client:
 
 [source, python] 
 --------------------------------------------------------------------------------
-include::python_client.py[]
+include::example$python_client.py[]
 --------------------------------------------------------------------------------
 
 NOTE: Python's `dnspython` module refuses to read `/etc/resolv.conf`, so to