From af62434a483561dfc14722053e2769870d2774c4 Mon Sep 17 00:00:00 2001 From: AlexandruGG Date: Sat, 17 Jul 2021 12:54:32 +0100 Subject: [PATCH 1/2] Link to stable docs --- README.md | 6 +++--- docs/index.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f38d5fca5..3e40eb830 100644 --- a/README.md +++ b/README.md @@ -225,7 +225,7 @@ For more detailed changelogs, please check [the release changelogs][45]. [9]: https://www.php.net/array-filter [10]: https://www.php.net/array-reduce [17]: https://www.php.net/manual/en/class.splobjectstorage.php -[18]: https://loophp-collection.readthedocs.io/en/latest/pages/usage.html#working-with-keys-and-values +[18]: https://loophp-collection.readthedocs.io/en/stable/pages/usage.html#working-with-keys-and-values [19]: https://github.com/illuminate/support [20]: https://github.com/DusanKasan/Knapsack [21]: https://github.com/mtdowling/transducers.php @@ -234,8 +234,8 @@ For more detailed changelogs, please check [the release changelogs][45]. [24]: https://github.com/nikic/iter [27]: http://danieltao.com/lazy.js/ [33]: https://loophp-collection.rtfd.io -[28]: https://loophp-collection.readthedocs.io/en/latest/pages/api.html -[32]: https://loophp-collection.readthedocs.io/en/latest/pages/usage.html +[28]: https://loophp-collection.readthedocs.io/en/stable/pages/api.html +[32]: https://loophp-collection.readthedocs.io/en/stable/pages/usage.html [34]: https://github.com/loophp/collection/issues [2]: https://github.com/loophp/collection/actions [35]: http://www.phpspec.net/ diff --git a/docs/index.rst b/docs/index.rst index d0a74e4c2..3bc53ffb8 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -151,7 +151,7 @@ For more detailed changelogs, please check `the release changelogs`_. .. _Haskell: https://www.haskell.org/ .. _new Collection object: https://github.com/loophp/collection/blob/master/src/Collection.php .. _SplObjectStorage: https://www.php.net/manual/en/class.splobjectstorage.php -.. _this example: https://loophp-collection.readthedocs.io/en/latest/pages/usage.html#working-with-keys-and-values +.. _this example: https://loophp-collection.readthedocs.io/en/stable/pages/usage.html#working-with-keys-and-values .. _Lazy.js: http://danieltao.com/lazy.js/ .. _Laravel Support Package: https://github.com/illuminate/support .. _pure: https://en.wikipedia.org/wiki/Pure_function From c452f84d107d24528d2b29867eccf67ab4ed0186 Mon Sep 17 00:00:00 2001 From: AlexandruGG Date: Sat, 17 Jul 2021 13:01:23 +0100 Subject: [PATCH 2/2] Use reference link --- docs/index.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 3bc53ffb8..49e6d8cc6 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -36,7 +36,7 @@ This library could be a valid replacement for `\SplObjectStorage`_ but with much This way of working opens up new perspectives and another way of handling data, in a more functional way. And last but not least, collection keys are preserved throughout most operations; while it might lead to some confusion at first, -please carefully read `this example`_ for the full explanation and benefits. +please carefully read :ref:`this example ` for the full explanation and benefits. This library has been inspired by: @@ -151,7 +151,6 @@ For more detailed changelogs, please check `the release changelogs`_. .. _Haskell: https://www.haskell.org/ .. _new Collection object: https://github.com/loophp/collection/blob/master/src/Collection.php .. _SplObjectStorage: https://www.php.net/manual/en/class.splobjectstorage.php -.. _this example: https://loophp-collection.readthedocs.io/en/stable/pages/usage.html#working-with-keys-and-values .. _Lazy.js: http://danieltao.com/lazy.js/ .. _Laravel Support Package: https://github.com/illuminate/support .. _pure: https://en.wikipedia.org/wiki/Pure_function