From 5aff7b3eceadefa657f8a9b0870629876fb791ce Mon Sep 17 00:00:00 2001 From: Remington Steed Date: Thu, 24 Oct 2019 09:45:37 -0400 Subject: [PATCH] LP#1848524: Docs: Treat code include as an Antora "example" This seems like a case that matches Antora's idea of an "example", rather than a "partial". Signed-off-by: Remington Steed Signed-off-by: Galen Charlton --- docs-antora/modules/development/{pages => examples}/python_client.py | 0 docs-antora/modules/development/pages/intro_opensrf.adoc | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename docs-antora/modules/development/{pages => examples}/python_client.py (100%) diff --git a/docs-antora/modules/development/pages/python_client.py b/docs-antora/modules/development/examples/python_client.py similarity index 100% rename from docs-antora/modules/development/pages/python_client.py rename to docs-antora/modules/development/examples/python_client.py diff --git a/docs-antora/modules/development/pages/intro_opensrf.adoc b/docs-antora/modules/development/pages/intro_opensrf.adoc index 2bce37b784..9d245ea5e4 100644 --- a/docs-antora/modules/development/pages/intro_opensrf.adoc +++ b/docs-antora/modules/development/pages/intro_opensrf.adoc @@ -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 -- 2.11.0