diff --git a/antora.yml b/antora.yml new file mode 100644 index 0000000..d057c48 --- /dev/null +++ b/antora.yml @@ -0,0 +1,16 @@ +# Name will be mostly visible in the URL. Treat it as an indentifier. +# Tip: If you want to use the local preview scripts that come with this repository, please change this value in the site.yml file as well. (under site/start_page) +name: documentation-contributors-guide + +# Title will be visible on the page. +title: Documentation Contributor's Guide + +# If you don't plan to have multiple versions of the docs (for example, to document multiple versions of some software), you can ignore this field. Otherwise, change "master" to a specific version. +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 + +# This lists all the menu definitions of your component. +nav: +- modules/ROOT/nav.adoc diff --git a/modules/ROOT/assets/images/pizza.png b/modules/ROOT/assets/images/pizza.png new file mode 100644 index 0000000..bdecba7 Binary files /dev/null and b/modules/ROOT/assets/images/pizza.png differ diff --git a/modules/ROOT/nav.adoc b/modules/ROOT/nav.adoc new file mode 100644 index 0000000..3ab11d6 --- /dev/null +++ b/modules/ROOT/nav.adoc @@ -0,0 +1,9 @@ +* xref:introduction.adoc[Introduction] +* xref:prerequisites.adoc[Before You Start] +* xref:repo-structure.adoc[Repository Structure] +* xref:contributing-to-existing-docs.adoc[Contributing to Existing Documentation] +* xref:adding-new-docs.adoc[Adding New Documentation to the Site] +* xref:local-preview.adoc[Building a Local Preview] +* xref:working-with-translations.adoc[Working with Translations] +* xref:markup.adoc[ASCIIDoc Markup] +* xref:writing-tips.adoc[Writing Tips] diff --git a/modules/ROOT/pages/adding-new-docs.adoc b/modules/ROOT/pages/adding-new-docs.adoc new file mode 100644 index 0000000..e69de29 diff --git a/modules/ROOT/pages/contributing-to-existing-docs.adoc b/modules/ROOT/pages/contributing-to-existing-docs.adoc new file mode 100644 index 0000000..e69de29 diff --git a/modules/ROOT/pages/introduction.adoc b/modules/ROOT/pages/introduction.adoc new file mode 100644 index 0000000..e69de29 diff --git a/modules/ROOT/pages/local-preview.adoc b/modules/ROOT/pages/local-preview.adoc new file mode 100644 index 0000000..e69de29 diff --git a/modules/ROOT/pages/markup.adoc b/modules/ROOT/pages/markup.adoc new file mode 100644 index 0000000..e69de29 diff --git a/modules/ROOT/pages/prerequisites.adoc b/modules/ROOT/pages/prerequisites.adoc new file mode 100644 index 0000000..1ccf160 --- /dev/null +++ b/modules/ROOT/pages/prerequisites.adoc @@ -0,0 +1,8 @@ +[id='prerequisites'] += Prerequisites + +Before you start contributing, you will need at least the following: + +* A *FAS* account +* A plaintext editor such as [application]`vim`, [application]`emacs`, [application]`Atom`, etc., preferably with ASCIIDoc syntax highlighting. +* [application]`git` and working knowledge of it. xref:repo-structure diff --git a/modules/ROOT/pages/repo-structure.adoc b/modules/ROOT/pages/repo-structure.adoc new file mode 100644 index 0000000..847eb59 --- /dev/null +++ b/modules/ROOT/pages/repo-structure.adoc @@ -0,0 +1,2 @@ +[id='repo-structure'] += Repository Structure diff --git a/modules/ROOT/pages/working-with-translations.adoc b/modules/ROOT/pages/working-with-translations.adoc new file mode 100644 index 0000000..e69de29 diff --git a/modules/ROOT/pages/writing-tips.adoc b/modules/ROOT/pages/writing-tips.adoc new file mode 100644 index 0000000..e69de29 diff --git a/site.yml b/site.yml new file mode 100644 index 0000000..48a39e6 --- /dev/null +++ b/site.yml @@ -0,0 +1,20 @@ +site: + title: Documentation Contributor's Guide + start_page: documentation-contributors-guide::index +content: + sources: + - url: . + branches: HEAD +ui: + bundle: + url: https://asamalik.fedorapeople.org/ui-bundle.zip + snapshot: true + default_layout: with_menu +output: + clean: true + dir: ./public + destinations: + - provider: archive +runtime: + pull: true + cache_dir: ./cache