atc-react icon indicating copy to clipboard operation
atc-react copied to clipboard

Changing the folder structure when building markdown

Open cibermanchego opened this issue 3 years ago • 2 comments

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.

cibermanchego avatar Dec 02 '21 17:12 cibermanchego

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!

yugoslavskiy avatar Dec 06 '21 02:12 yugoslavskiy

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.

cibermanchego avatar Dec 06 '21 07:12 cibermanchego