Skip to content

Commit

Permalink
Merge pull request TYPO3-Documentation#68 from sypets/sypets/rendering
Browse files Browse the repository at this point in the history
Add clarifications to information about rendering
  • Loading branch information
sypets authored May 20, 2019
2 parents 5e94456 + c9d2f92 commit ab0bd3c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 12 deletions.
34 changes: 28 additions & 6 deletions Documentation/RenderingDocs/Troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

.. _rendering-docs-troubleshooting:

===============
Troubleshooting
===============
===========================================
Troubleshooting Local Rendering With Docker
===========================================

If you run into problems, here are some
helpful hints on how to solve them.
Expand All @@ -14,7 +14,6 @@ Remember, you can always ask questions in the **#typo3-documentation**
channel on Slack! `Register for slack <https://my.typo3.org/index.php?id=35>`__
and join the channel, if you have not done so already.


When you run `dockrun_t3rdf makehtml`, you should see some output. If
everything works correctly, the final output should look like this:

Expand All @@ -33,6 +32,7 @@ everything works correctly, the final output should look like this:
Relevant is the exitcode 0. It indicates that everything executed
smoothly.


.. _render-troubleshooting-errors:

Errors That Break the Rendering
Expand Down Expand Up @@ -140,10 +140,32 @@ folder and render again, for example:
Get Detailed Information
========================

If you create a directory tmp-GENERATED-temp before you start the rendering,
If you create a directory :file:`tmp-GENERATED-temp` before you start the rendering,
the toolchain will not remove this directory when it is done. Usually
it cleans up after itself and this directory will be created and then removed.

The directory contains some additional information for the individual scripts
that have been run. In case of cryptic error messages which you have trouble
interpreting, you may check these files for more information.
interpreting, you may check these files for more information.

Look for files with ending :file:`err.txt` that are not empty.

Example output:

:file:`tmp-GENERATED-temp/RenderDocumentation/2019-05-19_06-37-50_072139/18-Make-and-build/40-Html/xeq-40-Make-html-1-err.txt`

.. code-block:: bash
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/sphinx/cmdline.py", line 303, in main
args.warningiserror, args.tags, args.verbosity, args.jobs)
File "/usr/local/lib/python2.7/site-packages/sphinx/application.py", line 191, in __init__
self.setup_extension(extension)
File "/usr/local/lib/python2.7/site-packages/sphinx/application.py", line 411, in setup_extension
self.registry.load_extension(self, extname)
File "/usr/local/lib/python2.7/site-packages/sphinx/registry.py", line 318, in load_extension
raise ExtensionError(__('Could not import extension %s') % extname, err)
ExtensionError: Could not import extension sphinxcontrib.googlechart (exception: cannot import name Directive)
Extension error:
Could not import extension sphinxcontrib.googlechart (exception: cannot import name Directive)
12 changes: 6 additions & 6 deletions Documentation/TipOfTheDay.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ See also: :ref:`tips-extension-authors`
.. _tip-of-the-day-trigger-rebuild:
.. rst-class:: panel panel-default

Trigger Documentation Rendering
===============================
Trigger Documentation Rendering on the Documentation Server
===========================================================

Usually, extension documentation should automatically be rerendered.
Usually, extension documentation should be rerendered automatically.

If you made a change that has been merged, but it is not yet visible,
do the following:

#. Wait a few minutes
#. Wait up to 10 minutes
#. Reload your browser

You may also render the repository locally, to make sure there are
You may also render the repository locally, to make sure there are
no build errors breaking the rendering. See :ref:`render-troubleshooting-errors`.

You can also look in the files in :file:`_buildinfo` online to see the
exitcodes and warnings. For example, for this manual:

https://docs.typo3.org/typo3cms/HowToDocument/stable/_buildinfo/

If this yields not results, you can iniated a rebuild:
If this yields no results, you can iniate a rebuild:

To trigger a rebuild of a manual, click the "request_rebuild.php" file
in the respective .../\*.git.make folder.
Expand Down

0 comments on commit ab0bd3c

Please sign in to comment.