diff README.md @ 86:897d57a7ec95 draft

Add support for disabling features at build time Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author yakumo.izuru
date Wed, 03 Apr 2024 23:17:16 +0000
parents d8c30f64e301
children 01ae2ad18ed1
line wrap: on
line diff
--- a/README.md	Tue Mar 26 11:56:38 2024 +0000
+++ b/README.md	Wed Apr 03 23:17:16 2024 +0000
@@ -15,7 +15,7 @@
 
 ## Installation
 
-Build it manually assuming you have Go (>=1.17) installed:
+Build it manually provided you have Go (>=1.17) installed:
 
 	$ go install marisa.chaotic.ninja/aya/cmd/aya@latest (1)
 	--- or ---
@@ -27,6 +27,10 @@
 (1) If you use this method, the `aya version` subcommand may print the wrong string,
 but it should not be a problem unless you use it on a page.
 
+You can also disable certain features at build time, with the `-tags` switch.
+Currently, these tags are available: `noamber`, `nogcss`.
+See `go help buildconstraint` for more details.
+
 ## Ideology
 
 Keep your texts in markdown, [amber](https://github.com/eknkc/amber), or html format right in the main directory
@@ -35,7 +39,7 @@
 Keep all service files (extensions, layout pages, deployment scripts etc)
 in the `.aya` subdirectory.
 
-Define variables in the header of the content files using [YAML](https://www.yaml.io) :
+Define variables in the header of the content files using [YAML](https://noyaml.com) :
 
 ```markdown
 title: My web site