./Writerside/
├───cfg/
│ ├───buildprofiles.xml
├───images/
│ ├───air.png
│ ├───appenditemname.png
│ ├───...
├───topics/
│ ├───Commonly-Used-Itemstrings-List.md
│ ├───Making-a-Map-for-Capture-the-Flag.md
│ └───...
├───c.list
├───ch.tree
├───v.list
└───writerside.cfg
The main folders you would need to know are the images
and topics
sub-folders within the Writerside
folder.
images
: This folder contains all the image media used in the handbook. When adding new images, place them in this folder.topics
: This folder is the home to all the Handbook markdown files. When adding new chapters without using Writerside, make new markdown files for them here.
The below sections will introduce you to the two ways in which you can make changes to the content of handbooks: (1) Using Writerside and (2) Without using Writerside.
- Install the latest version of JetBrains Writerside OR the Writerside IDE Plugin on a compatible JetBrains IDE.
- Fork this repository and clone your forked repository on your local machine.
- Then, open the cloned repository in the Writerside application or a JetBrains IDE equipped with the Writerside Plugin.
- Now you can make your changes. Read the Writerside documentation to learn how to use it.
- Submit your changes
Although it is not recommended to make changes without using Writerside, it should still be possible.You may add new topics or modify existing ones. Modifying is simple enough, but you will have to go through a few steps for adding new topics.
Adding new topics:
- Taking "Foo Bar Test" as a topic name, you will have to first create a
.md
file in thetopics
folder asFoo-Bar-Test.md
with the following contents:# Foo Bar Test (add your contents here...)
- If you were to add the topic using Writerside, it would automatically modify the contents of
ch.tree
when adding the new topic. Here though, you'll have to add them manually. Please take note of the structure of topics and sub-topics as well to prevent any errors. For example:
(...)
<instance-profile id="ch"
name="CTF Handbooks"
start-page="starter-topic.md">
<toc-element topic="Foo-Bar-Test.md"/>
<toc-element topic="starter-topic.md"/>
(...)
<toc-element topic="Troubleshooting.md"/>
</instance-profile>
After making your changes, you may submit your changes.
Please make a GitHub Pull Request to ctf-handbooks.github.io with a clear description of your changes if not explicitly mentioned through the title. Read more about Pull Requests here.