Skip to content

Commit

Permalink
[TASK] Fix documentation rendering
Browse files Browse the repository at this point in the history
Resolves: #722
  • Loading branch information
lukaszuznanski committed May 17, 2024
1 parent 56cc23f commit 8b4a32d
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 111 deletions.
2 changes: 0 additions & 2 deletions Documentation/Configuration/Index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: ../Includes.txt

.. _configuration:

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

.. _preview:

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

.. _images:

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

.. _developer:

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

.. _faq:

===============
Expand Down
17 changes: 0 additions & 17 deletions Documentation/Includes.txt

This file was deleted.

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

.. _installation:

==============
Expand All @@ -19,7 +17,7 @@ After TYPO3 is running, we can continue installing the headless extension:
:class: with-shadow

#. **Create a new root template:** Open the backend's menu entry *Site Management* > *TypoScript* (before v12: *Web* > *Template*). Add "`headless`" to "Include static (from extensions)". After saving and displaying
the page, we can see already the JSON output.
the page, we can see already the JSON output.

#. **Create a site configuration:** The site URL is needed as endpoint URL for the frontend.
In TYPO3 v10 an autogenerated site configuration might exist which we can rename and configure to our preferences.
Expand Down
8 changes: 2 additions & 6 deletions Documentation/Introduction/Index.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
.. include:: ../Includes.txt

.. _introduction:

==============
Introduction
==============

.. Info::

This extension is part of the `TYPO3 PWA Initiative <https://typo3.org/community/teams/typo3-development/initiatives/pwa/>`__
and is still in an early stage of development.
This extension is part of the `TYPO3 PWA Initiative <https://typo3.org/community/teams/typo3-development/initiatives/pwa/>`__
and is still in an early stage of development.

.. _what-it-does:

Expand Down
66 changes: 0 additions & 66 deletions Documentation/Settings.cfg

This file was deleted.

21 changes: 21 additions & 0 deletions Documentation/guides.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<guides xmlns="https://www.phpdoc.org/guides" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.phpdoc.org/guides ../vendor/phpdocumentor/guides-cli/resources/schema/guides.xsd"
links-are-relative="true">
<extension class="\T3Docs\Typo3DocsTheme\DependencyInjection\Typo3DocsThemeExtension"
project-home="https://extensions.typo3.org/extension/headless/"
project-contact="https://typo3.slack.com/archives/CDJK80WV6"
project-repository="https://github.com/TYPO3-Headless/headless/"
project-issues="https://github.com/TYPO3-Headless/headless/issues"
edit-on-github-branch="master"
edit-on-github="TYPO3-Headless/headless"
edit-on-github-directory="Documentation/"
typo3-core-preferred="12.4"
interlink-shortcode="friendsoftypo3/headless"
/>
<project title="Headless"
release="4.3"
version="4.3"
copyright="TYPO3 Headless"
/>
</guides>
9 changes: 1 addition & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,7 @@
".Build/vendor/bin/typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript"
],
"ci:yaml:lint": "find . ! -path '*.Build/*' -name '*.yml' | xargs php ./.Build/vendor/bin/yaml-lint",
"docs:generate": [
"@docs:generate:pullimage",
"docker run --rm ghcr.io/t3docs/render-documentation show-shell-commands > tempfile.sh; echo 'dockrun_t3rd makehtml' >> tempfile.sh; bash tempfile.sh; rm tempfile.sh"
],
"docs:generate:pullimage": [
"docker pull ghcr.io/t3docs/render-documentation",
"docker tag ghcr.io/t3docs/render-documentation t3docs/render-documentation"
],
"docs:generate": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation",
"fix:php:cs-fixer": [
"php-cs-fixer fix -v --using-cache no --config .php-cs-fixer.php"
],
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'author_email' => 'extensions@macopedia.pl',
'author_company' => 'Macopedia Sp. z o.o.',
'category' => 'fe',
'version' => '4.2.7',
'version' => '4.3.0',
'constraints' => [
'depends' => [
'frontend' => '12.4.3-12.5.99',
Expand Down

0 comments on commit 8b4a32d

Please sign in to comment.