Git Product home page Git Product logo

Comments (5)

sebkln avatar sebkln commented on June 26, 2024 1

The documentation (PR #40) is built upon the example manual provided by the t3docs team. Also, some good practices were copied from EXT:news docs.

I added the contents of the README into the different sections. In order to match the other docs, I had to add or rewrite come content (see "Changes and additions").

The whole documentation was rendered successfully in a local environment.

Changes and additions

  • "Introduction" contains a new list of features.
  • "Installation" was rephrased to match EXT:news docs (but all former information is still listed there).
  • I changed some examples from <a href=""> to <button>.
  • I used the official TYPO3 data types in TypoScript Reference (e.g. boolean). The data types are linked to the TSref.
  • Some wording was changed.

Rendering on docs.typo3.org

In order to get the new documentation rendered on docs.typo3.org, the following requirements must be met:

  • Documentation must be available in 'master' branch.
  • The link to the "External Manual" on extensions.typo3.org must be removed.
  • composer.json must be up to date.
  • Set up the GitHub webhook. This allows to automatically render every change on docs.typo3.org

The new documentation adds a "Edit me on GitHub" button which allows users to quickly send PRs. If you don't want this, it can be easily removed.

reST & Sphinx How-To

You can find all necessary information about reStructuredText in the "How To document" section on docs.typo3.org. It also includes a handy Cheat Sheet.

Additional notes

"Configuration" main page only contains some text and a doctree. If you add a heading on this page, all sub pages of "Configuration" will be rendered as sub pages of this heading in the main navigation. That's just the way sphinx works. As a workaround, I added all sections as separate files.

"TypoScript reference" is rendered with definition lists. Using the old table-row markup (e.g. TSref) is no longer recommended for new docs.

Next steps

When this basic documentation is implemented, we can extend it with a new "FAQ" section inside "Configuration", e.g.:

  • How to add a new cookie group?
  • How to add a new tracking object?
  • What to consider with a Content Security Policy?

from extension-cookieman.

 avatar commented on June 26, 2024 1

Thank you for preparing this so thoroughly and well-thought!

I added the web hook and confirmed that https://intercept.typo3.com/admin/docs/deployments received a ping.
The "external manual" from https://extensions.typo3.org is removed.

from extension-cookieman.

jonaseberle avatar jonaseberle commented on June 26, 2024 1

I reduced README.md. I'll make issues for FAQ entries.
The documentation looks and reads so nice :)

from extension-cookieman.

 avatar commented on June 26, 2024

Gorgeous! Thank you :)

from extension-cookieman.

sebkln avatar sebkln commented on June 26, 2024

Cool!

When the new documentation is available on docs.typo3.org and up-to-date, I'd recommend to reduce the README.md to the general information (means: no configuration). Then you don't have to maintain two docs.

from extension-cookieman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.