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

Removed unnecessary code-block directives in various docs. #12234

Merged
merged 1 commit into from
Dec 23, 2019
Merged

Removed unnecessary code-block directives in various docs. #12234

merged 1 commit into from
Dec 23, 2019

Commits on Dec 23, 2019

  1. Removed unnecessary 'code-block:: python' in docs.

    Better follows internal "Writing documentation".
    
    https://docs.djangoproject.com/en/3.0/internals/contributing/writing-documentation/#guidelines-for-restructuredtext-files
    
    > Add `.. code-block:: <lang>` to literal blocks so that they get
    > highlighted. Prefer relying on automatic highlighting using :: (two
    > colons). This has the benefit that if the code contains some invalid
    > syntax, it won’t be highlighted. Adding `.. code-block:: python`, for
    > example, will force highlighting despite invalid syntax.
    jdufresne committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    2f739f1 View commit details
    Browse the repository at this point in the history