Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to not overwrite README.md - or insert into it #26

Open
arthurzenika opened this issue Jan 9, 2023 · 2 comments
Open

Option to not overwrite README.md - or insert into it #26

arthurzenika opened this issue Jan 9, 2023 · 2 comments
Labels
🚀 enhancement New feature or request 👋 response needed Awaiting for a response from a reporter

Comments

@arthurzenika
Copy link

Is your feature request related to a problem? Please describe.

When generating my docs using handsdown I want to be able to customize the content in README.md which will be the entry point for mkdocs. When I change it (add some content not autogenerated) I then lose all the content.

Describe the solution you'd like
Either :

  • having an option to not write README.md
  • have some markdown markup that enables handsdown to insert the generated content without overwriting custom content.
  • document an easy way to have mkdocs use another file which includes the README.md generated by handsdown

Describe alternatives you've considered

My workaround so far : when README.md is overwritten by handsdown I do a git checkout docs/README.md to restore and commit the rest. But this will be limited when new modules are added to the TOC.

@arthurzenika arthurzenika added the 🚀 enhancement New feature or request label Jan 9, 2023
@arthurzenika arthurzenika changed the title Option to not overwrite REAMDE.md - or insert into it Option to not overwrite README.md - or insert into it Jan 9, 2023
@vemel
Copy link
Owner

vemel commented Jan 10, 2023

Hello! Thank you for the report.

You can also create HANDSDOWN.md document in your project root. All contents of this file will be included to a generated docs/README.md.

Please let me know if this solution works for you.

@vemel vemel added the 👋 response needed Awaiting for a response from a reporter label Jan 10, 2023
@arthurzenika
Copy link
Author

Hey, thanks for getting back.

That would be great, but I can't find an option in the --help that enables me to configure the output file, I have a path to the output folder, but not indication of configuring the README.md filename generated. Am I missing something ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 enhancement New feature or request 👋 response needed Awaiting for a response from a reporter
Projects
None yet
Development

No branches or pull requests

2 participants