Skip to content

Commit

Permalink
[TASK] Backport 11.5 Switch to PHP-based rendering (#441)
Browse files Browse the repository at this point in the history
* [TASK] Backport 11.5 Switch to PHP-based rendering

* [TASK] Backport 111.5 Switch to PHP-based rendering
  • Loading branch information
linawolf committed Mar 10, 2024
1 parent 48ca974 commit 37528a7
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 95 deletions.
1 change: 0 additions & 1 deletion Documentation/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ Explained.
:hidden:

Sitemap
genindex
3 changes: 2 additions & 1 deletion Documentation/PageTsconfig/Rte.rst
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ configuration of the transformations. For instance you may disable the mapping b
:code:`<b>-<strong>` and :code:`<i>-<em>` tags which is done by the `ts_transform` transformation.

Notice how many properties relate to specific transformations only! Also notice that the meta-transformations
`ts_css` imply other transformations :ref:`as explained in the overview <transformations-overview-meta>`.
`ts_css` imply other transformations.

This means that options limited to `ts_transform` will also work for `ts_css` of course.


Expand Down
2 changes: 1 addition & 1 deletion Documentation/PageTsconfig/TceMain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ linkHandler
title in the linkbrowser. It then saves the link in the format
`t3://record?identifier=my_content&uid=123`. To render the link in the
frontend you need to define the same key in the TypoScript setup
:ref:`config.recordLinks <t3tsref:recordLinks>`.
`config.recordLinks`.

.. tip::
For a complete example see also the :ref:`Record link tutorial
Expand Down
7 changes: 0 additions & 7 deletions Documentation/genindex.rst

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://docs.typo3.org/m/typo3/reference-tsconfig/main/en-us/"
project-contact="https://typo3.slack.com/archives/C028JEPJL"
project-repository="https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-TSconfig"
project-issues="https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-TSconfig/issues"
edit-on-github-branch="11.5"
edit-on-github="TYPO3-Documentation/TYPO3CMS-Reference-TSconfig"
typo3-core-preferred="11.5"
interlink-shortcode="t3tsconfig"
/>
<project
title="TSconfig Reference"
release="11.5"
version="11.5"
copyright="since 2012 by the TYPO3 contributors"
/>
</guides>
85 changes: 0 additions & 85 deletions Documentation/screenshots.json

This file was deleted.

29 changes: 29 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.PHONY: help
help: ## Displays this list of targets with descriptions
@echo "The following commands are available:\n"
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}'

.PHONY: docs
docs: ## Generate projects docs (from "Documentation" directory)
mkdir -p Documentation-GENERATED-temp

docker run --rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation

.PHONY: codesnippets
codesnippets: ## Regenerate automatic code snippets
.Build/vendor/bin/typo3 codesnippet:create Documentation/CodeSnippets/

.PHONY: test
test: test-lint test-cgl test-docs ## Runs all test suites

.PHONY: test-lint
test-lint: ## Lint PHP includes
Build/Scripts/runTests.sh -s lint

.PHONY: test-cgl
test-cgl: ## Test coding guidelines to PHP includes
Build/Scripts/runTests.sh -n -s cgl

.PHONY: fix-cgl
fix-cgl: ## Apply coding guidelines to PHP includes
Build/Scripts/runTests.sh -s cgl

0 comments on commit 37528a7

Please sign in to comment.