-
Notifications
You must be signed in to change notification settings - Fork 48
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
API Website #71
base: master
Are you sure you want to change the base?
API Website #71
Conversation
More verbose explanations.
tweaking color nav
Thanks so much for spending time working on this!!! The site you've created looks and functions fine, my only concerns are around maintaining the API documentation - the API docs are currently manually maintained and must be manually updated whenever the API is changed. With this PR there are now two places where the docs must be updated when the API changes. Do you have any suggestions for reducing this impact? Would something like this reduce a lot of the manual effort in keeping the docs up-to-date? |
One option we can consider, at least for now, is having one place where the API lives, on a website, with link to that API site on the xhr-mock github page, and a link to the xhr-mock github page on the npm page. Example Project: react-native-web I don't mind taking things out of the website, so there isn't any redundancy, making it mostly pure API documentation. As for how to make it easier, I've never used an automatic generator before, so it would be a good project for me to continue with, if you are okay with that. |
Sounds like a good first step 👍
Lets move it all to the website and just link to it like you say.
That would be really cool! But lets merge this first. How do I deploy it? Can you please add a script to deploy the website in a Thanks! |
Hey, sorry for the late reply. I updated the pull request but I get a message saying the Travis CI build failed. Do you know how to fix this? As for the website, its a static site made with Jekyll pages, so you will be able to publish it under your github account without any script. If you never used Jekyll, I've provided some instructions on how to publish the site below. If you already know, just ignore them! After the pull request is accepted:
If you want to run this site locally:
|
I have made a website for the API documentation for xhr-mock which is currently attached to my personal site.
website: http://elizabethjellison.com/xhr-mock/
repo: https://github.com/kanyewesternfront/xhr-mock
(the docs folder has been added under this repo)
This is the first time I've done this so if I anything, let me know!