sonata-project / dev-kit

Development kit of the Sonata-Project
https://master-7rqtwti-ptm4dx6rjpjko.eu-5.platformsh.site/
42 stars 42 forks source link

Documentation on readthedocs.io #1613

Closed jordisala1991 closed 3 years ago

jordisala1991 commented 3 years ago

Current situation:

Desired situation:

Why is better than before?

How do we get there:

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

There could be more things to be done.

core23 commented 3 years ago

Maybe we could add a bonus feature:

jordisala1991 commented 3 years ago

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:

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Now we're moving the doc to https://docs.sonata-project.org/en/master/ And we're planning to move the translations (https://github.com/sonata-project/dev-kit/issues/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 commented 3 years ago

Done, all documentation redirected. This can be closed.

VincentLanglet commented 3 years ago

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 commented 3 years ago

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?

VincentLanglet commented 3 years ago

Sure https://github.com/sonata-project/SonataAdminBundle/pull/7435 https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1506 https://github.com/sonata-project/SonataDoctrineMongoDBAdminBundle/pull/642 https://github.com/sonata-project/SonataUserBundle/pull/1390 https://github.com/sonata-project/SonataArticleBundle/pull/301 https://github.com/sonata-project/SonataClassificationBundle/pull/710 https://github.com/sonata-project/SonataCommentBundle/pull/315 https://github.com/sonata-project/SonataTranslationBundle/pull/526 https://github.com/sonata-project/SonataTimelineBundle/pull/379 https://github.com/sonata-project/SonataPageBundle/pull/1338 https://github.com/sonata-project/SonataNotificationBundle/pull/606 https://github.com/sonata-project/SonataNewsBundle/pull/753 https://github.com/sonata-project/SonataIntlBundle/pull/448 https://github.com/sonata-project/SonataDoctrinePhpcrAdminBundle/pull/715 https://github.com/sonata-project/SonataDashboardBundle/pull/321

There is also an issue with this redirect: https://sonata-project.org/bundles/article/master/doc/index.html

jordisala1991 commented 3 years ago

I will prepare redirects for article bundle, they werent done

jordisala1991 commented 3 years ago

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