Skip to content

Commit

Permalink
[Doc] fix some example for sites
Browse files Browse the repository at this point in the history
Signed-off-by: François Bobot <[email protected]>
  • Loading branch information
bobot committed Sep 17, 2020
1 parent b6441d6 commit 0ae337e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/sites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ in the section ``share``. This package can add files to this ``sites`` using the
.. code:: scheme
(install
(section (site c themes))
(section (site mygui themes))
(files
(layout.css as default/layout.css)
(ok.png as default/ok.png)
Expand All @@ -54,7 +54,7 @@ theme. Inside the scope of ``mygui_material_theme`` the ``dune`` file contains:
.. code:: scheme
(install
(section (site c themes))
(section (site mygui themes))
(files
(layout.css as material/layout.css)
(ok.png as material/ok.png)
Expand All @@ -80,7 +80,7 @@ site using the :ref:`generate module stanza<generate_module>`
(modules mygui mysites)
)
(generate_module (name mysites) (sites c))
(generate_module (name mysites) (sites mygui))
Then inside ``mygui.ml`` module the locations can be recovered and used:

Expand Down

0 comments on commit 0ae337e

Please sign in to comment.