-
Notifications
You must be signed in to change notification settings - Fork 543
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
Fix documentation #367
Comments
@alexwaibel so I guess I should start fixing from here, right? https://staticman.net/docs/index.html I list here a few ideas, please correct me if I don't understand correctly:
Please add/edit whatever you think makes sense or might help coming up with a decent draft, thanks |
Umm, from what I understand (I only managed to setup Staticman yesterday) there are three versions of staticman
Did I get it right? I like the second point, visualizing (through a flow / block diagram maybe) will definitely help. |
You're close, but a few details aren't quite right:
All of these require some kind of hosting. Even V3 as a GH App requires that the application be hosted somewhere (we recommend Heroku). We definitely need better API docs and I'm hoping to leverage something like Swagger to help document this stuff. Having up to date API docs should go a long way towards clarifying all the endpoints Staticman offers. |
Yes, this is a good place to start updating.
I think we should stop mentioning the public instance in the docs all together. This instance is not being actively maintained and we offer no guarantees that we'll fix it if it ever goes down. No new users should be using this and as such I think it's best to leave it out of the docs. Anyone using that instance should immediately migrate to a self-hosted solution. I would write the docs as if self-hosting is the only option.
Some kind of architecture and/or sequence diagrams would definitely be helpful. This would be a good addition to the docs.
I agree. I'd call out in the docs that the setup instructions are for Heroku + GitHub (I've never tried GitLab but I believe it works and the setup should be very similar to GitHub) and mention that Heroku is just one of many hosting options and that users can host on whatever platform they desire. We just use Heroku in the docs because that's what we've personally been using for hosting and it's the most streamlined setup at the moment. |
@alexwaibel can you please review eduardoboucas/staticman.net#11 ? |
@alexwaibel thank you, I see you approved the PR. I'm still confused about the dev workflow though: why is it not merged yet? do you need a certain amount of reviewers to approve it too? etc. Thanks |
Sorry, I forgot to click the merge button. It's fine for you to merge in your own PRs once they have at least one approval. I'll double check that the branch protections enforce this |
Related PR: #371 |
I am really liking how it is turning out. One suggestion: current deploy to heroku deploys v3 of staticman. Most of the documentation I see (tutorial,staticman.net) are based on either v1 and v2, and the references I find to v3 are in issues/commits. Maybe the "howto" should focus on v3 since it offers both GitHub/gitlab approach. |
@LordAmit yeah I agree. We're improving staticman.net docs too, which by the way in my opinion should become the official user documentation resource, i.e. user docs there and dev docs here. Given that I've found no documentation about v3 yet it means that either someone else provides or points me there, or I'd have to go through the codebase (which is not too big but it will take me some time obviously). @alexwaibel also said he wishes to add support for Open API (ex Swagger), I don't know the effort needed for that though. |
I believe this is the pull request which introduced major changes for v3 and also includes the most details I am not quite sure why I was unable to setup v3 following this (or others). Some of the details are also missing there, like what @alexwaibel since I am very new to this repo and don't have much experience, can you please confirm that this is the correct link to find details about v3? |
@LordAmit I missed this before, but indeed that post is probably a good reference for the various APIs, though it may not be 100% accurate now given how old the post is. If by I know this thread is old now, but I am hoping to tackle some doc updates here soon. |
Big documentation PR for this up now on the docs repo |
The intention of introducing the v3 API scheme is due to the lack of Git service provider in v2's path element for POSTing comments:
together with the request to support GitLab in #22. If you follow the discussion four years ago, you'll see that @zburgermeiszter proposed the current link format in his comment. That was supported by @ntsim, who authored #219 to address this feature request. The rate limit issues about the |
So regarding: Webhook URL: |
No description provided.
The text was updated successfully, but these errors were encountered: