Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial doc layout with left navigation and page stubs #10

Merged
merged 3 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ tmp/
# Antora working directories
node_modules/
build/
!docs/modules/ROOT/**/build
public/
.idea/
.cache
Expand Down
8 changes: 7 additions & 1 deletion docs/antora.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
---
name: ROOT
title: Konflux-CI
version: ~
nav:
- modules/ROOT/nav-root.adoc
- modules/ROOT/pages/discover/_nav.adoc
- modules/ROOT/pages/getting-started/_nav.adoc
- modules/ROOT/pages/how-tos/_nav.adoc
- modules/ROOT/pages/advanced-how-tos/_nav.adoc
- modules/ROOT/pages/glossary/_nav.adoc
- modules/ROOT/pages/contribute/_nav.adoc

asciidoc:
attributes:
Expand Down
1 change: 0 additions & 1 deletion docs/modules/ROOT/nav-root.adoc

This file was deleted.

8 changes: 8 additions & 0 deletions docs/modules/ROOT/pages/advanced-how-tos/_nav.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* xref:advanced-how-tos/index.adoc[Advanced how-tos]
** xref:advanced-how-tos/installing.adoc[Installing {ProductName}]
** xref:advanced-how-tos/managing-compliance-with-ec.adoc[Managing compliance with EC]
** xref:advanced-how-tos/releasing/index.adoc[Releasing an application]
*** xref:advanced-how-tos/releasing/create-release-plan.adoc[Creating a release plan]
*** xref:advanced-how-tos/releasing/create-release-plan-admission.adoc[Creating a release plan admission]
** xref:advanced-how-tos/managing-multiple-versions.adoc[Managing multiple software versions]
** xref:advanced-how-tos/managing-security-fix.adoc[Managing a security fix]
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/advanced-how-tos/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= How to do more than just building artifacts in {ProductName}
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/advanced-how-tos/installing.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Installing {ProductName}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Managing compliance with Enterprise Contract
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Managing multiple software versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Managing a security fix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Creating a release plan admission
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Creating a release plan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Releasing an application
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/contribute/_nav.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* xref:contribute/index.adoc[Contribute]
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/contribute/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Contribute to {ProductName}
3 changes: 3 additions & 0 deletions docs/modules/ROOT/pages/discover/_nav.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Discover
** xref:discover/index.adoc[Why {ProductName}]
** xref:discover/slsa-conformity.adoc[Supply chain security through SLSA conformity]
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/discover/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Discover {ProductName}
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/discover/slsa-conformity.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Supply chain security through SLSA conformity
3 changes: 3 additions & 0 deletions docs/modules/ROOT/pages/getting-started/_nav.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Getting started
** xref:getting-started/index.adoc[Getting started with {ProductName}]
** xref:getting-started/cli.adoc[Getting started with the CLI]
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/getting-started/cli.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Getting started with the CLI
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/getting-started/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Getting started with {ProductName}
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/glossary/_nav.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* xref:glossary/index.adoc[Glossary]
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/glossary/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Glossary of terms related to {ProductName}
22 changes: 22 additions & 0 deletions docs/modules/ROOT/pages/how-tos/_nav.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
* xref:how-tos/index.adoc[How-tos]
** xref:how-tos/creating.adoc[Creating applications and components]
** xref:how-tos/configuring/index.adoc[Configuring your builds]
*** xref:how-tos/configuring/customizing-the-build.adoc[Customizing the build pipeline]
*** xref:how-tos/configuring/creating-secrets.adoc[Creating secrets for your builds]
*** xref:how-tos/configuring/configuration-as-code.adoc[Configuration as code]
*** xref:how-tos/configuring/hermetic-builds.adoc[Enabling hermetic builds]
*** xref:how-tos/configuring/prefetching-dependencies.adoc[Prefetching package manage dependencies]
*** xref:how-tos/configuring/component-nudges.adoc[Defining component relationships]
*** xref:how-tos/configuring/redundant-rebuilds.adoc[Preventing redundant rebuilds]
** xref:how-tos/testing/index.adoc[Testing your components and applications]
*** xref:how-tos/testing/overview.adoc[Overview of Konflux tests]
*** xref:how-tos/testing/build/index.adoc[Build-time tests]
**** xref:how-tos/testing/build/snyk.adoc[Enabling Snyk]
*** xref:how-tos/testing/integration/index.adoc[Integration tests]
**** xref:how-tos/testing/integration/adding.adoc[Adding an integration test]
**** xref:how-tos/testing/integration/creating.adoc[Creating a custom integration test]
**** xref:how-tos/testing/integration/rerunning.adoc[Rerunning an integration test]
** xref:how-tos/metadata/index.adoc[Inspecting provenance and attestations]
*** xref:how-tos/metadata/sboms.adoc[Inspecting SBOMs]
*** xref:how-tos/metadata/provenance.adoc[Downloading the SLSA provenance]
** xref:how-tos/deleting.adoc[Deleting applications and components]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Defining component relationships
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= Configuration as code

+
NOTE: Is this topic needed or can it be rolled into index.adoc?
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Creating secrets for your builds
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Customizing the build pipeline
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Enabling hermetic builds
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/how-tos/configuring/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Configuring your builds
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
= Prefetching package manager dependencies for hermetic builds

+
NOTE: We may want to rephrase this to word for more accurate SBOM information

+
NOTE: Should this be a subtopic for hermetic or a sibling to it?
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= Preventing redundant rebuilds

+
NOTE: Is this builds or rebuilds?
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/how-tos/creating.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Creating applications and components
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/how-tos/deleting.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Deleting applications and components
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/how-tos/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= How to build artifacts in {ProductName}
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/how-tos/metadata/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Inspecting provenance and attestations
4 changes: 4 additions & 0 deletions docs/modules/ROOT/pages/how-tos/metadata/provenance.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= Downloading the SLSA provenance

+
NOTE: We may want to make the action consistent with SBOMs.
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/how-tos/metadata/sboms.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Inspecting SBOMs
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/how-tos/testing/build/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Build-time tests
6 changes: 6 additions & 0 deletions docs/modules/ROOT/pages/how-tos/testing/build/snyk.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
= Enabling Snyk

While a Snky test is available to run a build time in the default pipelines, additional configuration is needed to enable the test. This is an example of a build-time test that requires the configuration of a custom secret to be able to run.

+
NOTE: We may want to consider generalizing this topic.
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/how-tos/testing/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Testing your components and applications
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Adding an integration test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Creating a custom integration test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Integration tests
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= Rerunning an integration test
4 changes: 4 additions & 0 deletions docs/modules/ROOT/pages/how-tos/testing/overview.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= Overview of {ProductName} tests

+
NOTE: This might just be merged into the section page for testing components and applications
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Hello World!
= {ProductName}
Loading