phpunit-documentation-english icon indicating copy to clipboard operation
phpunit-documentation-english copied to clipboard

The "Edit on GitHub" links do not work on Read the Docs for es, fr, pt, ja and zh languages

Open dzc34 opened this issue 7 years ago • 5 comments

The "Edit on GitHub" links do not work on Read the Docs for es, fr, pt, ja and zh languages

ex: https://phpunit.readthedocs.io/ja/latest/ https://github.com/sebastianbergmann/phpunit-documentation-japanese//master/src/index.rst

dzc34 avatar Apr 18 '18 19:04 dzc34

I am not sure what I can/should do about this. @belanur?

sebastianbergmann avatar Apr 19 '18 04:04 sebastianbergmann

This is also the case for the English master version (which is hidden to regular users): http://phpunit.readthedocs.io/en/master/

It seems the link works with versions that are based on branches as tags, so I would assume that configuring the translations the same way as the English documentation would lead to working links. This is how the setup looks like on readthedocs.org: screenshot 2018-04-19 09 58 57

sebastianheuer avatar Apr 19 '18 07:04 sebastianheuer

-https://github.com/sebastianbergmann/phpunit-documentation-japanese//master/src/index.rst
+https://github.com/sebastianbergmann/phpunit-documentation-japanese/blob/master/src/index.rst

(see missing blob)

keradus avatar Apr 19 '18 10:04 keradus

Sorry, but I am still not sure what I should do about this.

Do I understand correctly, @belanur, that I need to change the ReadTheDocs configuration and that this is a one-time change and not something that needs to be done every time there is a new branch?

Besides that, I would like to have the translation teams create/maintain the version-specific branches. I will do that for the English edition.

sebastianbergmann avatar May 06 '18 08:05 sebastianbergmann

The edit link on the English version is still broken.

E.g. at https://phpunit.readthedocs.io/en/9.5/organizing-tests.html the link is https://github.com/sebastianbergmann/phpunit-documentation-english//9.5/src/organizing-tests.rst which is a 404.

joachim-n avatar May 24 '22 10:05 joachim-n

The PHPUnit project does not have the resources to coordinate the translation of the PHPUnit documentation into other languages. Some, if not most, of the existing translations have not been up-to-date with the English documentation for quite a while. I have therefore decided to no longer officially support documentation languages other than English.

sebastianbergmann avatar Feb 03 '23 06:02 sebastianbergmann