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

Documentation on readthedocs.io #1613

Closed
8 tasks done
jordisala1991 opened this issue Aug 7, 2021 · 12 comments
Closed
8 tasks done

Documentation on readthedocs.io #1613

jordisala1991 opened this issue Aug 7, 2021 · 12 comments

Comments

@jordisala1991
Copy link
Member

jordisala1991 commented Aug 7, 2021

Current situation:

  • Old website that is outdated and hosts docs, demo and "marketing" pages
  • Website is not always up, currently missing SSL certificates
  • Design of the docs is lacking some features that we have to implement ourselves
  • The overall design of the current sonata-project.org page looks old.

Desired situation:

  • Website only as a marketing tool (maybe only a landing page)
  • Docs separate and built with a template (https://sphinx-themes.org/)
  • Demo using its own subdomain and with a copy of Sandbox, for testing purposes

Why is better than before?

  • We don't need to "improve" the styles for the docs, we are using a theme that is constantly getting updates
  • We don't rely on our own hosting for docs, which is nice, because it will have more uptime
  • Less efforts on maintaining up to date the website, we just need a design for a one page, not a whole website
  • We can modify easily pages like "getting started with sonata", actually this page contains really old instructions because they are not easily modifiable

How do we get there:

  • Create all projects on readthedocs.io
  • Create a main project (it could be dev-kit)
  • Assign all projects as a subproject of the main one
  • Add the main documentation (it could be one or 2 pages) to the main project, with links to the subprojects and some general info like getting started
  • Ensure that docs for all projects works
  • Update READMES to point to new docs
  • Redirect the website pages related to docs to this new doc
  • Point a custom domain on readthedocs for better SEO. (this is optional)

TL;DR: We are trying to move the documentation to readthedocs.io.

There could be more things to be done.

@core23
Copy link
Member

core23 commented Aug 7, 2021

Maybe we could add a bonus feature:

  • Add a blog system for project updates. This can be done with simple Markdown files. Something like doctrine or easy admin

@jordisala1991
Copy link
Member Author

All projects are created and all branches assigned. They are configured and added @VincentLanglet as a maintainer (is the only one with account on readthedocs AFAIK).

The ones I couldn't add were, some lower branches that are not maintained and:

  • SonataCoreBundle (we don't care because it is deprecated)
  • SonataEasyExtendsBundle (we don't care because it is deprecated)
  • SonataPropelBundle (we don't care...)

Now we need to check if everything work (I know there are some hardcoded links to the sonata-project page)
and add a main documentation page on dev-kit.

Once all that is done we can start modifying the READMEs

@VincentLanglet
Copy link
Member

As a first step, we could add all the documentation link (like https://sonata-project.readthedocs.io/projects/SonataAdminBundle) to the page https://sonata-project.readthedocs.io

Next, we'll have to point https://sonata-project.org/ to https://sonata-project.readthedocs.io/

@core23
Copy link
Member

core23 commented Aug 10, 2021

As a first step, we could add all the documentation link (like https://sonata-project.readthedocs.io/projects/SonataAdminBundle) to the page https://sonata-project.readthedocs.io

What's the source repo for the landing page (https://sonata-project.readthedocs.io)?

@VincentLanglet
Copy link
Member

What's the source repo for the landing page (https://sonata-project.readthedocs.io)?

dev-kit.

We need to create a /doc/index.rst file in dev-kit repository.

@VincentLanglet
Copy link
Member

Now we're moving the doc to https://docs.sonata-project.org/en/master/
And we're planning to move the translations (#1614)

Can we agree about the future of https://github.com/sonata-project/sonata-project.org ? (Maybe in another issue)
https://sonata-project.org/ should just because an homepage IMHO, maybe it's easier to start from scratch

@jordisala1991
Copy link
Member Author

Done, all documentation redirected. This can be closed.

@VincentLanglet
Copy link
Member

VincentLanglet commented Aug 16, 2021

Should we still update the doc to change the url

https://sonata-project.org/bundles/doctrine-orm-admin/master/doc/index.html

to the readthedocs.io one ?

like in https://github.com/sonata-project/SonataAdminBundle/blob/4.x/docs/getting_started/installation.rst

what is the preferred url to use ?

@jordisala1991
Copy link
Member Author

Yes, those urls can be changed. They should work because of redirects, but better to not rely on them so much. Can you do the Pr?

@jordisala1991
Copy link
Member Author

I will prepare redirects for article bundle, they werent done

@jordisala1991
Copy link
Member Author

I just asked rande to apply the redirects for article bundle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants