This site is generated with Sculpin, a PHP based static site generator.
First you have to install Sculpin and run the install command in the project directory.
This can be done via the init.sh
shell script in the project root.
./init.sh
This will download sculping and install the required dependencies.
./watch.sh
This will start a local webserver at http://localhost:8000/.
Foreach Plugin in the exampleplugins
directory a corresponding ZIP package will be created that can be installed via the shopware plugin manager.
It is important to put the plugin into the proper Frontend/Backend/Core subdirectory.
exampleplugins/Frontend/SwagSloganOfTheDay/
will result in exampleplugins/SwagSloganOfTheDay.zip
in the generated output directory. Please not that the subdirectory is not part of the resulting directory/filename.
You have the ability to generate a table of content list for your document. Simply place the following code into your document and a table of contents will appear there magically:
<div class="toc-list"></div>
If you want, you can customize the behavior of the toc list as well. You can define the text of the headline using the attribute data-headline
and you can define the max depth of headlines you wanna include into the list with the attribute data-depth
:
<div class="toc-list" data-depth="1" data-headline="Awesome table of contents"></div>