From e711daef6a053069d7736f660e0743a97a22fd6d Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: Feb 16 2022 14:08:56 +0000 Subject: Remove table of contents, antora changes, fix links Page overview already provided on the right side, no need to duplicate table of contents in individual pages. Plus added several changes to fix local docs building. Correct links. --- diff --git a/antora.yml b/antora.yml index 7e7e1c6..0776b01 100644 --- a/antora.yml +++ b/antora.yml @@ -9,7 +9,7 @@ title: Fedora CI # <---- PLEASE MODIFY version: master # We encourage you to name the index page as "index.adoc". If you absolutely have to use a different name, please reflect it here. You can ignore this field otherwise. -start_page: ROOT:index +start_page: ROOT:index.adoc # This lists all the menu definitions of your component. nav: diff --git a/modules/ROOT/pages/examples.adoc b/modules/ROOT/pages/examples.adoc index 4365b4d..c2203bf 100644 --- a/modules/ROOT/pages/examples.adoc +++ b/modules/ROOT/pages/examples.adoc @@ -1,4 +1,3 @@ -:toc: = Examples = diff --git a/modules/ROOT/pages/faq.adoc b/modules/ROOT/pages/faq.adoc index 6d95da1..6dc47d0 100644 --- a/modules/ROOT/pages/faq.adoc +++ b/modules/ROOT/pages/faq.adoc @@ -1,4 +1,3 @@ -:toc: = Frequently Asked Questions = diff --git a/modules/ROOT/pages/gating.adoc b/modules/ROOT/pages/gating.adoc index e1c188a..be7e99a 100644 --- a/modules/ROOT/pages/gating.adoc +++ b/modules/ROOT/pages/gating.adoc @@ -1,4 +1,3 @@ -:toc: = Gating = diff --git a/modules/ROOT/pages/generic_tests.adoc b/modules/ROOT/pages/generic_tests.adoc index d87babf..8e33999 100644 --- a/modules/ROOT/pages/generic_tests.adoc +++ b/modules/ROOT/pages/generic_tests.adoc @@ -1,4 +1,3 @@ -:toc: = Generic Tests = diff --git a/modules/ROOT/pages/how-to-add-sti-test.adoc b/modules/ROOT/pages/how-to-add-sti-test.adoc index 192a81c..0b97aad 100644 --- a/modules/ROOT/pages/how-to-add-sti-test.adoc +++ b/modules/ROOT/pages/how-to-add-sti-test.adoc @@ -1,4 +1,3 @@ -:toc: = How to add simple STI test for a package = diff --git a/modules/ROOT/pages/jenkins.adoc b/modules/ROOT/pages/jenkins.adoc index fc6cc7d..3ede719 100644 --- a/modules/ROOT/pages/jenkins.adoc +++ b/modules/ROOT/pages/jenkins.adoc @@ -1,4 +1,3 @@ -:toc: = Jenkins = diff --git a/modules/ROOT/pages/manifesto.adoc b/modules/ROOT/pages/manifesto.adoc index 16c9df2..6e4f5d7 100644 --- a/modules/ROOT/pages/manifesto.adoc +++ b/modules/ROOT/pages/manifesto.adoc @@ -1,4 +1,3 @@ -:toc: = CI Manifesto = diff --git a/modules/ROOT/pages/onboarding-of-a-ci-system.adoc b/modules/ROOT/pages/onboarding-of-a-ci-system.adoc index 655f608..c505565 100644 --- a/modules/ROOT/pages/onboarding-of-a-ci-system.adoc +++ b/modules/ROOT/pages/onboarding-of-a-ci-system.adoc @@ -1,4 +1,3 @@ -:toc: = Onboarding of a CI System = diff --git a/modules/ROOT/pages/pipeline.adoc b/modules/ROOT/pages/pipeline.adoc index c60b2a3..34998e7 100644 --- a/modules/ROOT/pages/pipeline.adoc +++ b/modules/ROOT/pages/pipeline.adoc @@ -2,8 +2,6 @@ WARNING: This page is outdated. -:toc: - The testing *Pipeline* detects tests for enabled packages, executes the test coverage and gathers the results. Currently version `1.1.0` of the xref:standard-test-interface.adoc[Standard Test Interface] specification is supported. diff --git a/modules/ROOT/pages/pull-requests.adoc b/modules/ROOT/pages/pull-requests.adoc index 82d549f..ef2f53c 100644 --- a/modules/ROOT/pages/pull-requests.adoc +++ b/modules/ROOT/pages/pull-requests.adoc @@ -1,4 +1,3 @@ -:toc: = Pull Requests = diff --git a/modules/ROOT/pages/quick-start-guide.adoc b/modules/ROOT/pages/quick-start-guide.adoc index e817391..ef7854c 100644 --- a/modules/ROOT/pages/quick-start-guide.adoc +++ b/modules/ROOT/pages/quick-start-guide.adoc @@ -1,4 +1,3 @@ -:toc: = Quick Start Guide = @@ -122,7 +121,7 @@ For example: git checkout -b tests If you are not a Fedora packager, use `fedpkg` command to clone you fork and set up the git repo config so that you are able to push to it. -See xref:pull_requests.adoc[Pull Requests] for more detailed info. +See xref:pull-requests.adoc[Pull Requests] for more detailed info. fedpkg clone -a forks/psss/rpms/bash git checkout -b tests diff --git a/modules/ROOT/pages/rebuild-container-image.adoc b/modules/ROOT/pages/rebuild-container-image.adoc index d4a4e09..d7c9969 100644 --- a/modules/ROOT/pages/rebuild-container-image.adoc +++ b/modules/ROOT/pages/rebuild-container-image.adoc @@ -1,4 +1,3 @@ -:toc: = dist-git pipeline - rebuild container images = diff --git a/modules/ROOT/pages/share-test-code.adoc b/modules/ROOT/pages/share-test-code.adoc index 31727a8..2ec2f19 100644 --- a/modules/ROOT/pages/share-test-code.adoc +++ b/modules/ROOT/pages/share-test-code.adoc @@ -1,4 +1,3 @@ -:toc: = Share Test Code = diff --git a/modules/ROOT/pages/source-git.adoc b/modules/ROOT/pages/source-git.adoc index 40cc95d..9658e8c 100644 --- a/modules/ROOT/pages/source-git.adoc +++ b/modules/ROOT/pages/source-git.adoc @@ -1,4 +1,3 @@ -:toc: = Source Git = diff --git a/modules/ROOT/pages/standard-test-interface.adoc b/modules/ROOT/pages/standard-test-interface.adoc index 3fca1ca..eb53a18 100644 --- a/modules/ROOT/pages/standard-test-interface.adoc +++ b/modules/ROOT/pages/standard-test-interface.adoc @@ -1,4 +1,3 @@ -:toc: = Standard Test Interface = diff --git a/modules/ROOT/pages/standard-test-roles.adoc b/modules/ROOT/pages/standard-test-roles.adoc index 501a51f..ee2e822 100644 --- a/modules/ROOT/pages/standard-test-roles.adoc +++ b/modules/ROOT/pages/standard-test-roles.adoc @@ -1,4 +1,3 @@ -:toc: = Standard Test Roles = diff --git a/modules/ROOT/pages/test-case-relevancy.adoc b/modules/ROOT/pages/test-case-relevancy.adoc index 1d1d5bb..c1d9da6 100644 --- a/modules/ROOT/pages/test-case-relevancy.adoc +++ b/modules/ROOT/pages/test-case-relevancy.adoc @@ -1,4 +1,3 @@ -:toc: = Test Case Relevancy = diff --git a/modules/ROOT/pages/tests.adoc b/modules/ROOT/pages/tests.adoc index 3672067..e7b3a07 100644 --- a/modules/ROOT/pages/tests.adoc +++ b/modules/ROOT/pages/tests.adoc @@ -1,4 +1,3 @@ -:toc: = Tests = diff --git a/modules/ROOT/pages/tmt.adoc b/modules/ROOT/pages/tmt.adoc index 0c39c34..7eaf091 100644 --- a/modules/ROOT/pages/tmt.adoc +++ b/modules/ROOT/pages/tmt.adoc @@ -1,4 +1,3 @@ -:toc: = Test Management Tool = diff --git a/site.yml b/site.yml index 67500ba..40aec4c 100644 --- a/site.yml +++ b/site.yml @@ -1,6 +1,6 @@ -site: +site: title: Local Preview - start_page: ci::index + start_page: ci::index.adoc content: sources: - url: . @@ -10,11 +10,11 @@ ui: url: https://asamalik.fedorapeople.org/ui-bundle.zip snapshot: true default_layout: with_menu -output: - clean: true +output: + clean: true dir: ./public - destinations: - - provider: archive + destinations: + - provider: archive runtime: - pull: true + fetch: true cache_dir: ./cache