-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Improving examples. #1643
Comments
Thanks, @davidlehn, Right now it does not prevent other people from doing their own examples, but just in case you had something else in mind. |
@dgarijo I'm not sure what the layout should be. Open to discussion. I'm just guessing that since no one likes to read docs, they will immediately look to |
Ok, my proposal then is as follows: |
this would be great |
Quite late to this issue, but this is a great resource: https://htaccess.madewithlove.com/ It allows you to test your rewrite rules without the need to run a local server |
|
@bact you were changing one of my w3ids in your PR, and I had to close it. I do not want to redirect w3id/example to example.com. Please add a new PR with the examples folder :) Thanks! |
Sorry @dgarijo I misunderstand that. I should follow this proposal instead.
|
New PR #3600 is created. Please kindly comment and suggest any change you feel needed. I have revert the original files of /example back from previous commits. Apologize for messy commits. |
PR #3600 is successfully merged and we now have
It also has
The README has a quick intro to .htaccess as well, but
We may also need to update -- The I'm thinking may be we can just redirect it to https://github.com/perma-id/w3id.org/tree/master/examples and the visitors will see examples/README.md from there. (now in PR #3601) What do you think? |
Thanks! I think the |
Some ideas for helping new folks figure out how to use this service. I've had these ideas rattling around in my head for years, might as well note them here.
@dgarijo started with an ontology example in #1639. (That has been needed for a long time. Thanks!)
example/
with a really basic example, more like a template for just having a.htaccess
andREADME.md
to get started and redirect something to https://example.com/. Then have a secondaryexamples/
that has a handful of subdirs for various use cases. In this case the newexample
dir would be under something likeexamples/ontology/
..htaccess
options are commonly needed and document them and why they are there..htaccess
is ok vs putting inREADME.md
. Recently it was suggested to just use README. I had originally thought it would have been the other way.I'm sure there's more... if anyone has ideas, add a comment.
The text was updated successfully, but these errors were encountered: