From f74eef582f2e76caefed2d5cec8639e2c07166cb Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Thu, 6 Aug 2020 15:31:43 -0400 Subject: [PATCH] Example PR to the Docs Repo This PR shows how to create a new page and then add it under the System Configuration navigation heading. --- modules/ROOT/nav.adoc | 1 + modules/ROOT/pages/new-example.adoc | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 modules/ROOT/pages/new-example.adoc diff --git a/modules/ROOT/nav.adoc b/modules/ROOT/nav.adoc index 95456185..0562b48b 100644 --- a/modules/ROOT/nav.adoc +++ b/modules/ROOT/nav.adoc @@ -22,6 +22,7 @@ *** xref:sysctl.adoc[Kernel Tuning] *** xref:running-containers.adoc[Running Containers] *** xref:authentication.adoc[Configuring Authentication] +*** xref:example.adoc[Example Docs PR] ** OS updates *** xref:update-streams.adoc[Update Streams] *** xref:auto-updates.adoc[Auto-Updates] diff --git a/modules/ROOT/pages/new-example.adoc b/modules/ROOT/pages/new-example.adoc new file mode 100644 index 00000000..f6f7a26e --- /dev/null +++ b/modules/ROOT/pages/new-example.adoc @@ -0,0 +1,15 @@ +:experimental: += Example PR to Docs repo + + +- Create a page under `modules/ROOT/pages/` + +Give the file a name like `example.adoc`. Fill in the contents. + +- Add an entry in the navigation file (`modules/ROOT/nav.adoc`) under under `System Configuration`. + +[source] +---- +** System Configuration +*** xref:example.adoc[Example Docs PR] +----