aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@toptal.com>2025-02-15 08:46:21 +0200
committerBozhidar Batsov <bozhidar@toptal.com>2025-02-15 08:46:41 +0200
commit30c55d19b9488dcddc9195c9acb7f625d472d96d (patch)
tree22f1e1207c43b9c1e434ce7f4c70ca5084a2967a /doc
parent82cecc2b0c0ae17208d6eaf4059bf29056c9bde6 (diff)
[Docs] Update Antora instructions
Diffstat (limited to 'doc')
-rw-r--r--doc/modules/ROOT/pages/contributing.adoc14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/modules/ROOT/pages/contributing.adoc b/doc/modules/ROOT/pages/contributing.adoc
index 6b7cbf2..4d23b3c 100644
--- a/doc/modules/ROOT/pages/contributing.adoc
+++ b/doc/modules/ROOT/pages/contributing.adoc
@@ -53,7 +53,6 @@ Tests should run fine in `shell-mode` or `term-mode`. It's also possible to use
== Documentation
Good documentation is just as important as good code.
-
Consider improving and extending this manual and the
https://github.com/bbatsov/projectile/wiki[community wiki].
@@ -61,7 +60,7 @@ https://github.com/bbatsov/projectile/wiki[community wiki].
The manual is generated from the AsciiDoc files in the https://github.com/bbatsov/projectile/tree/master/doc[doc] folder of Projectile's GitHub repo and is published to https://docs.projectile.mx.
https://antora.org[Antora] is used to convert the manual into HTML.
-The filesystem layout is described at https://docs.antora.org/antora/2.0/component-structure/.
+The filesystem layout is described at https://docs.antora.org/antora/latest/component-structure/.
To make changes to the manual you simply have to change the files under `doc`.
The manual will be regenerated manually periodically.
@@ -74,10 +73,11 @@ Installing the Antora is super simple:
[source]
----
-$ npm i -g @antora/cli@2.0 @antora/site-generator-default@2.0
+$ cd docs.projectile.mx
+$ npm install
----
-Check out https://docs.antora.org/antora/2.0/install/install-antora/[the detailed installation instructions]
+Check out https://docs.antora.org/antora/latest/install/install-antora/[the detailed installation instructions]
if you run into any problems.
==== Building the Site
@@ -87,14 +87,14 @@ You can build the documentation locally from the https://github.com/bbatsov/docs
[source]
----
$ cd docs.projectile.mx
-$ antora --pull antora-playbook.yml
+$ make build
----
-After you're done with the initial setup you can use the `deploy` script to push changes to the site:
+After you're done with the initial setup you can use the `make` to push changes to the site:
[source]
----
-./deploy
+$ make deploy
----
NOTE: You'll need commit access to the repository for this to work.