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

[TASK] Improve Migration Documentation #406

Closed
wants to merge 45 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
e926b17
[FEATURE] Introduce PHP-based rendering
linawolf Dec 12, 2023
bc30031
[TASK] Adjust migration page (#348)
linawolf Jan 13, 2024
951121e
[TASK] Adjust rendering page (#347)
linawolf Jan 13, 2024
3d492d9
[TASK] Introduce automatic testing (#349)
linawolf Jan 14, 2024
7a2710b
[TASK] Remove orphaned Preface page (#354)
linawolf Jan 14, 2024
6884e46
[TASK] Update information on how to handle Core changes (#360)
linawolf Jan 15, 2024
c815805
[TASK] Remove Tools to Edit Rest page (#357)
linawolf Jan 15, 2024
76a04f6
[TASK] Drop the appendix (#358)
linawolf Jan 15, 2024
7d2971a
[TASK] Overhaul general file structure section (#361)
linawolf Jan 18, 2024
e0781b8
[TASK] Overhaul about page (#364)
linawolf Jan 18, 2024
9d4fe69
[TASK] Remove the user Round trip (#363)
linawolf Jan 17, 2024
ab8be6b
[TASK] Drop General "How to use GitHub" information (#359)
linawolf Jan 15, 2024
816d788
[TASK] Remove orphaned pages and warnings (#362)
linawolf Jan 15, 2024
de1e4d1
[BUGFIX] Remove warnings (#368)
github-actions[bot] Jan 21, 2024
5789ddc
[TASK] Reduce single file documentation / README (#365)
linawolf Jan 21, 2024
90b9417
[TASK] Introduce Makefile and command 'make docs' (#370)
linawolf Jan 21, 2024
c2a2db9
[TASK] Move best practises for additonal readme files (#369)
linawolf Jan 23, 2024
ca8a5fc
[TASK] Overhaul Startpage and menu / toctree configuration (#371)
linawolf Jan 26, 2024
0b32867
[TASK] Remove all inventories that are available by default (#374)
linawolf Jan 26, 2024
700687c
[TASK] Remove section on Includes.rst.txt (#372)
linawolf Jan 26, 2024
85e4655
[TASK] Remove genindex (#375)
linawolf Jan 26, 2024
22aac51
[TASK] Move default language to guides.xml (#373)
linawolf Jan 26, 2024
55b8b5a
[FEATURE] Document guides.xml (#376)
linawolf Jan 27, 2024
a0e581e
[FEATURE] Document the preferred Core Version (#378)
linawolf Jan 29, 2024
dbd4004
[TASK] guides.xml chapter improvements (#379)
linawolf Jan 29, 2024
7b8f9c5
[TASK] Remove "Writing Content" section (#383)
github-actions[bot] Jan 29, 2024
7491d7b
[TASK] Fix rendering warnings
linawolf Jan 29, 2024
88e247c
[TASK] Remove graphviz support (#385)
github-actions[bot] Jan 30, 2024
22c63ea
[TASK] Remove "common pitfalls"
linawolf Jan 30, 2024
4437f39
[TASK] Remove "common pitfalls" (#387)
github-actions[bot] Jan 30, 2024
c79b975
[TASK] Remove Commit Messages conventions
linawolf Jan 30, 2024
7949948
[TASK] Overhaul reST start page and menu structure (#392)
github-actions[bot] Jan 30, 2024
ea85866
[Backport documentation-draft] [TASK] Simplify UML graphic examples (…
github-actions[bot] Jan 31, 2024
19bf899
[TASK] Add legacy installation to major Core version adjustments (#397)
brotkrueml Feb 1, 2024
d87d652
[TASK] Add more pages to adjust with a new Core major version (#398)
brotkrueml Feb 5, 2024
eb738e4
Use correct article for the word "attention" (#399)
PKuhlmay Feb 20, 2024
d593d6f
The REST README must not be in markdown (#400)
franzholz Feb 24, 2024
8b50cc6
[TASK] Provide list of available languages for code blocks (#401)
brotkrueml Mar 2, 2024
af03f59
[TASK] Fix php-based rendering warnings
garvinhicking Mar 12, 2024
48f0daa
[TASK] Add in-depth notes for migration (#403)
garvinhicking Mar 13, 2024
e47e85f
[TASK] Add note about podman and optimize docker run commands (#402)
garvinhicking Mar 14, 2024
c7de237
[TASK] Add link to render-guides list of default inventories (#404)
garvinhicking Apr 16, 2024
3eb3cfc
[TASK] Delete Settings.cfg
linawolf Apr 16, 2024
0b6160d
[TASK] Move migration chapter a level up (#405)
linawolf Apr 16, 2024
513054e
[TASK] Improve wording and add some additions to migration
Alagts Apr 16, 2024
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
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ trim_trailing_whitespace = true
indent_style = space
indent_size = 4
max_line_length = 80

[{Makefile,_Makefile}]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tab
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
13 changes: 11 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ Contributing
Information About Contributing to This Manual
=============================================

Local rendering
---------------

You can render this manual locally if you have `Docker <https://www.docker.com/>`
and `make <https://www.gnu.org/software/make/>` installed on your local
machine::

make docs

Create Issues
-------------

Expand All @@ -21,10 +30,10 @@ Make changes (create pull requests)
`rendered page <https://docs.typo3.org/typo3cms/HowToDocument/Index.html>`__,
just click on "Edit me on GitHub".
* Step-by-step walkthrough of making a change by `Editing Directly on GitHub
<https://docs.typo3.org/typo3cms/HowToDocument/WritingDocsOfficial/Index.html>`__
<https://docs.typo3.org/typo3cms/HowToDocument/WritingDocsOfficial/Index.html>`__
(this requires only a browser)
* Step-by-step walkthrough of `Local Editing and Rendering with Docker
<https://docs.typo3.org/typo3cms/HowToDocument/WritingDocsOfficial/LocalEditing.html>`__
<https://docs.typo3.org/typo3cms/HowToDocument/WritingDocsOfficial/LocalEditing.html>`__
(this requires knowledge of Git and Docker)

* See `Writing Documentation <https://docs.typo3.org/typo3cms/HowToDocument/>`__ for further
Expand Down
68 changes: 14 additions & 54 deletions Documentation/About.rst
Original file line number Diff line number Diff line change
@@ -1,59 +1,21 @@
.. include:: /Includes.rst.txt
.. highlight:: rst
.. _about:
.. include:: /Includes.rst.txt
.. highlight:: rst
.. _about:

================
About this guide
================

This guide was written to help the reader to :ref:`contribute to the official TYPO3
documentation <contribute>` and to :ref:`write documentation for their own
extensions <writing-doc-for-ext-start>`.

How this guide is structured
============================
Documentation written in :ref:`reStructured Text <rest-quick-start>` can be
:ref:`rendered <rendering-docs>` using a TYPO3-specific theme and
automatically deployed to
https://docs.typo3.org by adding a :ref:`Webhook <webhook>`.

This manual covers writing TYPO3 documentation. This includes, contributing
to official documentation, the core changelog and system extensions and
writing documentation for third party extensions.

It is more than just documentation: it also lists some conventions, coding
guidelines and provides links to GitHub issues.


.. index:: Writing documentation; Getting started
.. _getting-started:
.. _how-to-read-this-guide:

How to read this guide
======================

This manual introduces you to writing TYPO3 documentation. You can read
it cover-to-cover.

.. tip::

Specifically, you might like to look at:

* :ref:`basic-principles` to familiarize yourself with the structure
* :ref:`conventions` for tips on coding guidelines, spelling etc.
* :ref:`reStructuredText & Sphinx Introduction <writing-rest-introduction>`.
* Additionally, keep the :ref:`rest-cheat-sheet` handy to look up the syntax.


But often, you would like to **jump right in**, start with a specific task
and learn as you go along. In that case, find your task here and start reading:

* :ref:`how-to-start-docs-extension` if you have an extension and would
like to write documentation for it using the sample extension manual.
* :ref:`docs-contribute-github-method` if you would like to contribute to
the official documentation and need an easy introduction to editing
documentation directly on GitHub. This does not require any development
tools, you just need a browser and a GitHub account.
* :ref:`docs-contribute-git-docker` if you would like to contribute to
the official documentation and are already familiar with Git and Docker
* :ref:`render-documenation-with-docker` if you would like to start with rendering the
documentation locally with Docker.


.. _credits:
.. _credits:

Credits
=======
Expand All @@ -64,14 +26,12 @@ Special thanks to Xavier Perseguers, who wrote some of the original texts
in the retired TYPO3 Wiki and elsewhere. Some of the texts have been
incorporated into this document or at least served as a basis.

Further chapters like
:ref:`rest-common-pitfalls`, :ref:`rest-cheat-sheet`, :ref:`docs-contribute`,
:ref:`basic-principles`, :ref:`writing-doc-for-ext-start` and :ref:`docs-official-how-you-can-help`
were added by Sybille Peters.
Further chapters were added by Sybille Peters.

A number of other people have helped by reviewing and refining the text
and pointing out missing information. For more contributors, see the
`list of contributors on GitHub for this manual <https://github.com/TYPO3-Documentation/TYPO3CMS-Guide-HowToDocument/graphs/contributors>`__.
`list of contributors on GitHub for this manual
<https://github.com/TYPO3-Documentation/TYPO3CMS-Guide-HowToDocument/graphs/contributors>`__.

We thank everyone for their help and hope that good documentation
about writing documentation will make it easier for others to contribute.
15 changes: 0 additions & 15 deletions Documentation/Appendix/ExampleTocTree/Index.rst

This file was deleted.

14 changes: 0 additions & 14 deletions Documentation/Appendix/ExampleTocTree/Topic1/Index.rst

This file was deleted.

8 changes: 0 additions & 8 deletions Documentation/Appendix/ExampleTocTree/Topic1/Subtopic1.rst

This file was deleted.

9 changes: 0 additions & 9 deletions Documentation/Appendix/ExampleTocTree/Topic1/Subtopic2.rst

This file was deleted.

11 changes: 0 additions & 11 deletions Documentation/Appendix/Index.rst

This file was deleted.

17 changes: 0 additions & 17 deletions Documentation/Appendix/ResourcesForEditors.rst

This file was deleted.

12 changes: 1 addition & 11 deletions Documentation/BasicPrinciples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ learning, tutorials provide examples to illustrate the subjects they cover.
They may not necessarily follow best-practices by the letter. They are
designed to make it easier to get started.

:ref:`Read more ... <writing-tutorial>`

The definitions for tutorials, guides, explanations and references were taken from
`Daniele Procida: What nobody tells you about documentation <https://www.divio.com/blog/documentation/>`__

Expand All @@ -135,8 +133,6 @@ A guide is a manual.

Guides offer advice on **how best to achieve a given task**. They are goal oriented.

:ref:`Read more ... <writing-guide>`


.. index:: TYPO3 documentation; Reference
.. _doc-type-reference:
Expand Down Expand Up @@ -312,13 +308,7 @@ Examples for system extensions are:
* `ext:rte_ckeditor <https://docs.typo3.org/typo3cms/extensions/rte_ckeditor/>`__

Note, that if your system has been installed with Composer, not all system extensions may exist
in the system, if each system extension has been required separately as "subtree splitted packages"
(not as `typo3/cms`). Since TYPO3 9, installation of "subtree splitted packages" is mandatory.

For more information on subtree split, see

* `Usetypo3: The TYPO3 Subtree Split and Composer <https://usetypo3.com/typo3-subtree-split-and-composer.html>`__
* :ref:`Installation and Upgrade guide: Composer migration <composer-migration-require-subtree-packages>`
in the system.


.. index:: pair: System extensions; Documentation
Expand Down
98 changes: 0 additions & 98 deletions Documentation/Changes.rst

This file was deleted.

This file was deleted.

Loading
Loading