In order to use the WTC Curriculum Toolchain, you need to install the following:
In Antora, a component consists of one or more modules. Each module consists of pages, images, examples, etc.
Run make preview and open http://localhost:8051/ to view the component on your local machine.
This first runs make clean, then make build then make preview.
The clean target deletes the build/site and build/cache directories for a clean build.
The build target builds a local copy of the component. The output is placed in the build/site directory.
The preview target serves build/site on http://localhost:8051/
In a terminal, run make preview to start up the local HTTP server for the component.
Then, in another terminal, run make watch. This will watch for local file changes in the content directories and rebuild the local site.
Refresh the page in the browser to see the changes.
Run make tools to pull the latest changes from the curriculum-tools repository.
If you come across any merge conflicts, resolve them in VS Code and commit when you are done.
Support for inline icons using Font-Awesome is enabled. See https://asciidoctor.org/docs/user-manual/#inline-icons
Support via https://kroki.io/ is enabled. Also see https://github.com/Mogztter/asciidoctor-kroki.
For example:
[plantuml]
----
alice -> bob
bob -> alice
----In the release-outline folder, create two documents using the release number:
nav-0.adoc release-0.txt
In the release file, list the paths to the pages or modules you wish to release from the modules directory under the content directory (make sure there is an empty line at the end of the file):
ROOT
In the nav.adoc, create the full navigation as you would like it to appear for that release. If the release only includes the start page, nav.adoc can be empty.
Run make release with the release number to clean the release folder and copy over the appropriate navigation and content (e.g. make release 5).
Run make preview PLAYBOOK=release and open http://localhost:8051/ to view the component on your local machine.
This first runs make clean, then make build then make preview.
The clean target deletes the build/site and build/cache directories for a clean build.
The build target builds a local copy of the component. The output is placed in the build/site directory.
The preview target serves build/site on http://localhost:8051/