-
-
Notifications
You must be signed in to change notification settings - Fork 146
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(docs): one click "add example" button #144
Comments
Definitely! I was needing to move the website to |
Thanks for your help |
Well, I like Vue Press, but I know you're a React guy, so we're kinda in different camps here 馃槢 |
Yeah, for us react guys there's docusaurus 馃 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
馃崺 Feature Request
Teachability, Documentation, Adoption, Migration Strategy
In the documentation, there is often a case where I find the example lacking and would like to suggest a new example or add one where there is none.
Currently there's a link like so:
However, the problem is that this opens the page at a specific blob like this link:
https://github.com/millsp/ts-toolbelt/blob/3859d18/src/Any/Compute.ts#L48
From here it's pretty complicated how I can easily make a change and open a PR.
With other sites that use eg. Vue Press, you'll get this "edit these docs" link like so:
Which, if you don't have a fork, will automatically create a fork and prompt to open a PR after a change.
Maybe you could slightly make this adjustment to the links you added to your examples so it does the same?
The text was updated successfully, but these errors were encountered: