atc-project / atc-react

A knowledge base of actionable Incident Response techniques
Apache License 2.0
595 stars 112 forks source link

Changing the folder structure when building markdown #364

Open cibermanchego opened 2 years ago

cibermanchego commented 2 years ago

Hi, I love the project, and we are using it to build our own internal documentation. How easy would be to change the folder structure to our own when running the main script to initialize markdown? Say, instead of a folder called 'Response_Stages', we could change to '01.Stages', so that then our links are not broken. I'm quite bad with Python, I can't find the parts of the code where those names are defined.

yugoslavskiy commented 2 years ago

Hello @cibermanchego! You can do that by changing path in the config file:

https://github.com/atc-project/atc-react/blob/fd2d33697be4ffb64ca6e496f49e0e3db2b1fcc7/scripts/config.default.yml#L16

Please let me know if it helps!

cibermanchego commented 2 years ago

Hi @yugoslavskiy , thank you for your response. That helps for the source folders, but the new destination folders are still on the form 'Response_Playbooks', 'Response_Actions', and so on. Those destinations are what we'd like to provide custom names. It's still very useful for us, only after generating the markdown we have to do some changes to the link paths.