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

Split up README into multiple pages of documentation #73

Closed
6 tasks done
simonw opened this issue May 19, 2022 · 9 comments
Closed
6 tasks done

Split up README into multiple pages of documentation #73

simonw opened this issue May 19, 2022 · 9 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented May 19, 2022

I can use the same tech as https://django-sql-dashboard.datasette.io/en/stable/ - see https://github.com/simonw/django-sql-dashboard/tree/main/docs

  • Configure Read the Docs
  • Split documentation up into pages
  • Add new Contributing page with notes on how docs work (including Cog)
  • Vanity domain - probably shot-scraper.datasette.io
  • Shrink the README and point it to the new docs
  • Ship a release and check that Read the Docs has a "stable" as well as a "latest"
@simonw simonw added documentation Improvements or additions to documentation enhancement New feature or request labels May 19, 2022
simonw added a commit that referenced this issue May 19, 2022
@simonw
Copy link
Owner Author

simonw commented May 19, 2022

I started by just copying README.md into docs/index.md and configuring MyST and Read the Docs.

This first prototype of the new documentation is now hosted at https://shot-scraper.readthedocs.io/en/latest/

Next steps are in the issue description above ^

@simonw
Copy link
Owner Author

simonw commented May 19, 2022

For the domain, I'm torn between shot-scraper.datasette.io and registering a domain specifically for shot-scraper.

I'm worried that it's not particularly relevant to Datasette. But I also don't want to have to pay for another domain name for the rest of time.

I already added it to https://datasette.io/tools/shot-scraper though - and the scraping mechanism is very aligned with the rest of the Datasette ecosostem. So I think shot-scraper.datasette.io is OK.

@simonw simonw changed the title The README is too long, this should have a proper documentation site Split up README into multiple pages of documentation May 19, 2022
@simonw
Copy link
Owner Author

simonw commented May 19, 2022

Configured shot-scraper.datasette.io here - https://readthedocs.org/dashboard/shot-scraper/domains/13242/edit/ - following instructions in https://til.simonwillison.net/readthedocs/custom-subdomain

Now waiting for certificate.

@simonw
Copy link
Owner Author

simonw commented May 19, 2022

Got a surprising certificate error in the Read the Docs interface:

SSL certificate status: The requested hostname resolves to a Cloudflare zone that is not owned by you. HTTP domain control validation (DCV) cannot be completed. Update this hostname to resolve to your zone and PATCH to try again.

@simonw
Copy link
Owner Author

simonw commented May 19, 2022

Maybe because I had only setup the CNAME a few minutes before-hand?

http://shot-scraper.datasette.io/ is showing a Clouflare page:

image

I'm going to leave this for an hour and try again.

@simonw
Copy link
Owner Author

simonw commented May 19, 2022

... no wait, I think this is because:

CleanShot 2022-05-19 at 12 34 58@2x

I set it to readthedocs.org but I should have set it to readthedocs.io!

@simonw
Copy link
Owner Author

simonw commented May 19, 2022

OK, https://shot-scraper.datasette.io/ works now!

@simonw
Copy link
Owner Author

simonw commented May 19, 2022

New structure is now live on https://shot-scraper.datasette.io/en/latest/

CleanShot 2022-05-19 at 13 00 25@2x

simonw added a commit that referenced this issue May 19, 2022
simonw added a commit that referenced this issue May 19, 2022
simonw added a commit that referenced this issue May 19, 2022
simonw added a commit that referenced this issue May 19, 2022
@simonw
Copy link
Owner Author

simonw commented May 19, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant