Explorar o código

docs: add site-example

Nils Schneider %!s(int64=9) %!d(string=hai) anos
pai
achega
a10c167f86
Modificáronse 1 ficheiros con 18 adicións e 1 borrados
  1. 18 1
      docs/user/site.rst

+ 18 - 1
docs/user/site.rst

@@ -188,4 +188,21 @@ GLUON_PRIORITY
 Examples
 --------
 
-An example configuration is maintained at https://github.com/freifunk-gluon/site-example.
+site.mk
+^^^^^^^
+
+.. literalinclude:: ../site-example/site.mk
+  :language: makefile
+
+site.conf
+^^^^^^^^^
+
+.. literalinclude:: ../site-example/site.conf
+  :language: lua
+
+modules
+^^^^^^^
+
+.. literalinclude:: ../site-example/modules
+  :language: makefile
+