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

[DOCS] Switch documentation rendering to PHP-based rendering #2356

Merged
merged 5 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ email, or any other method with the owners of this repository before making a ch

For changes of a trivial nature, it is not always necessary to create a new issue.

## Render the documentation locally

To render the documentation locally you can use the following `make` command:

```
make docs
```

If `make` is not available on your machine you can also call the commands provided
in the file `Makefile` manually.

## Additional resources

* [Rendered documentation](https://docs.typo3.org/p/georgringer/news/main/en-us/)
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: test documentation

on: [ push, pull_request ]

jobs:
tests:
name: documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Test if the documentation will render without warnings
run: |
mkdir -p Documentation-GENERATED-temp \
&& docker run --rm --pull always -v $(pwd):/project \
ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --fail-on-log
2 changes: 0 additions & 2 deletions Documentation/Addons/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _addons:

Addons
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Addons/NewsAdministration/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _newsAdministration:

=======================
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Addons/NewsCategoryPidConstraint/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _newsCategoryPidConstraint:

================================
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Addons/NewsContentElements/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _newsContentElements:

=========================
Expand Down
4 changes: 1 addition & 3 deletions Documentation/Addons/NewsFegroupPreview/Index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
.. include:: /Includes.rst.txt

.. _newsFegroupPreview:
.. _newsFegroupPreview:

========================
EXT:news_fegroup_preview
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Addons/NewsFilter/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _newsFilter:

===============
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Addons/NewsImporticsxml/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _newsImporticsxml:

=====================
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Addons/NewsRedirectSlugChange/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _newsRedirectSlugChange:

=============================
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Addons/NewsSeo/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _newsSeo:

============
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Addons/NewsTagsuggest/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _newsTagsuggest:

===================
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Addons/NumberedPagination/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _numberedPagination:

=======================
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Administration/Configuration/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _configuration:

Configuration
Expand Down
5 changes: 1 addition & 4 deletions Documentation/Administration/Index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
.. include:: /Includes.rst.txt


.. _admin-manual:
.. _admin-manual:

Administration
==============
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Administration/Installation/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _installation:

Installation
Expand Down
3 changes: 0 additions & 3 deletions Documentation/Administration/Migration/Index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
.. include:: /Includes.rst.txt


Migration
---------

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _migration_realurl_routing:

===========================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
.. include:: /Includes.rst.txt


Migration from tt_news to news
------------------------------
This tutorial will help you to migrate data from tt_news to news.
Expand Down
3 changes: 0 additions & 3 deletions Documentation/Administration/Update/Index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
.. include:: /Includes.rst.txt


Updating
--------
If you update EXT:news to a newer version, please read this section carefully!
Expand Down
71 changes: 0 additions & 71 deletions Documentation/Includes.rst.txt

This file was deleted.

2 changes: 0 additions & 2 deletions Documentation/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _start:

===========
Expand Down
4 changes: 1 addition & 3 deletions Documentation/Introduction/About/Index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
.. include:: /Includes.rst.txt

.. _whatDoesItDo:
.. _whatDoesItDo:

What does it do?
================
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Introduction/Contribution/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _contribution:

Contribution
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Introduction/Sponsoring/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _thanks:
.. _sponsoring:

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Introduction/Support/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

.. _support:

Need Support?
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/10-0-0.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

10.0.0 - 20th September 2022
============================

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/10-0-1.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

10.0.1 - 22nd September 2022
============================

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/10-0-2.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

10.0.2 - 27th October 2022
==========================

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/10-0-3.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

10.0.3 - 21st November 2022
===========================

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/11-0-0.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

11.0.0 - 9th March 2023
=======================

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/11-1-0.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

11.1.0 - 23rd June 2023
=======================

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/11-1-1.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

11.1.1 - 26th June 2023
=======================

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/11-1-2.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

11.1.2 - 14th July 2023
=======================

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/11-2-0.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

11.2.0 - 30th August 2023
=========================

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/11-3-0.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

11.3.0 - 20th December 2023
===========================

Expand Down
1 change: 0 additions & 1 deletion Documentation/Misc/Changelog/11-4-0.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.. include:: /Includes.rst.txt

11.4.0 - 8th February 2024
==========================
Expand Down
1 change: 0 additions & 1 deletion Documentation/Misc/Changelog/11-4-1.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.. include:: /Includes.rst.txt

11.4.1 - 8th February 2024
==========================
Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/2-1-0.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

2.1.0 - 2013/03/28
------------------

Expand Down
4 changes: 0 additions & 4 deletions Documentation/Misc/Changelog/2-2-0.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.. include:: /Includes.rst.txt



2.2.0 - 2013/07/06
------------------

Expand Down
4 changes: 0 additions & 4 deletions Documentation/Misc/Changelog/2-2-1.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.. include:: /Includes.rst.txt



2.2.1 - 2013/09/23
------------------

Expand Down
4 changes: 0 additions & 4 deletions Documentation/Misc/Changelog/2-3-0.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.. include:: /Includes.rst.txt



2.3.0 - 2013/12/12
------------------

Expand Down
4 changes: 0 additions & 4 deletions Documentation/Misc/Changelog/3-0-0.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.. include:: /Includes.rst.txt



3.0.0 - 2014/05/16
------------------

Expand Down
4 changes: 0 additions & 4 deletions Documentation/Misc/Changelog/3-0-1.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.. include:: /Includes.rst.txt



3.0.1 - 2014/06/03
------------------

Expand Down
4 changes: 0 additions & 4 deletions Documentation/Misc/Changelog/3-1-0.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.. include:: /Includes.rst.txt



3.1.0 - 2015/02/12
------------------

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/3-2-0.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

3.2.0 - 2015/05/19
==================

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/3-2-1.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

3.2.1 - 2015/07/11
==================

Expand Down
2 changes: 0 additions & 2 deletions Documentation/Misc/Changelog/3-2-2.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /Includes.rst.txt

3.2.1 - 2015/07/13
==================

Expand Down
Loading
Loading