nextcloud-desktop/docs
Matthew Setter b33eebb726 Remove unrequired start attribute
I'm not sure why I added the attribute previously, in
0afd511b9cbc30e9586d388c32c72d4d25ddddaf, but it's not necessary, and
has caused some confusion. Given that, this commit's removing it.
2019-02-12 20:30:29 +01:00
..
modules/ROOT Remove unrequired start attribute 2019-02-12 20:30:29 +01:00
antora.yml Rename master version back from latest to master 2019-02-12 20:30:29 +01:00
README.md Add Antora Playbook files and update docs documentation 2019-02-12 20:30:29 +01:00

Building the Docs

The desktop client documentation is not built directly; instead, it is built when the administration, developer, and user manuals are made.

However, if you would like to build a local copy of the desktop client documentation, to preview changes that you are making as you are making them, you can use the following command:

antora \
    --redirect-facility static \
    --stacktrace \
    site.local.yml

Note this command requires Antoras command-line tools to be installed. To learn more about how to install them, please refer to that documentation in the docs repository.

Previewing the Generated Docs

Assuming that there are no build errors, the next thing to do is to view the result in your browser. In case you have already installed a web server, you need to configure a virtual host (or similar) which points to the directory public, located in the root directory of the repository. This directory contains the generated documentation. Alternatively, use the NPM Serve tool or PHP's built-in webserver.

The following example starts NPM's Serve running in the background, using the public directory as its directory root, and listening on http://localhost:5000 (if available):

serve public &