Skip to main content

Wagtail Guide

tests codecov

What is it?

The Wagtail Guide app adds functionality for creating and editing a guide for editors and publishers to help them create good content.

Installation

Wagtailguide has a pypi package and can be installed with:

pip install wagtail-guide

After installing, add it to your settings file along with wagtail.contrib.settings, the settings inclusion should be placed with your other wagtail.contrib libraries:

INSTALLED_APPS = [
    ...
    'wagtail_guide',
    'wagtail.contrib.settings',
]

Settings and configuration

Wagtail guide has some customisation options...

WAGTAIL_GUIDE_MENU_LABEL Use this setting to define your own menu label for viewing the guide.

ADD_WAGTAIL_GUIDE_TO_HELP_MENU This setting will place the guide within the 'Help' menu.

HIDE_WAGTAIL_CORE_EDITOR_GUIDE You can use this setting to turn off the Wagtail core Editor Guide link

Examples of customisation via settings

Here is an example of a custom menu label (outlined here in orange), and placing the editor guide link in the help menu:

WAGTAIL_GUIDE_SETTINGS = {
    "ADD_WAGTAIL_GUIDE_TO_HELP_MENU": True,
    "WAGTAIL_GUIDE_MENU_LABEL": "CMS Publishing Guide",
    "HIDE_WAGTAIL_CORE_EDITOR_GUIDE": False,
}

custom label

Here is an example of hiding the core Editor Guide link and just using ours:

WAGTAIL_GUIDE_SETTINGS = {
    "ADD_WAGTAIL_GUIDE_TO_HELP_MENU": True,
    "WAGTAIL_GUIDE_MENU_LABEL": "CMS Publishing Guide",
    "HIDE_WAGTAIL_CORE_EDITOR_GUIDE": True,
}

remove help

You can define them in your project settings file like this:

WAGTAIL_GUIDE_SETTINGS = {
    "ADD_WAGTAIL_GUIDE_TO_HELP_MENU": False,
    "WAGTAIL_GUIDE_MENU_LABEL": "WG guide menu label",
    "HIDE_WAGTAIL_CORE_EDITOR_GUIDE": True,
}

Usage

To edit the guide, the user needs to be an admin, or have the Manage editor guide 'change' value checked in their user group permissions.

Editing the guide

To edit the guide, from the left hand menu open settings > then click 'Manage editor guide'. Edit your content and then save.

guide edit

Guide navigation menu

If more than one 'heading' blocks are added to the content, an automatic menu will be displayed at the top of the guide under the heading 'Contents'

Viewing the guide

Once logged in, a new menu icon towards the bottom of the left hand menu will be visible labeled as 'Editor guide':

guide view

Dependencies

Wagtail Guide requires wagtail>=5.2

Contributing

We welcome contributions to this project, see CONTRIBUTING.md for more details.

Metadata

Release files for wagtail-guide 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-guide 2.2.0
File Size Uploaded
wagtail_guide-2.2.0.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-guide 2.2.0
File Interpreter ABI Platform
wagtail_guide-2.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.5 kB

Release files / wagtail_guide-2.2.0.tar.gz

Download URL wagtail_guide-2.2.0.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9c36fad175aa48ebaaff9741f241613376b5fa2119dc26db405a807944a13c7b
BLAKE2b-256 checksum
How to use checksums
3a29bc53a07636c97b80ca049ed1575e34c606490a24646da67209cbfc21240a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.8.19

Release files / wagtail_guide-2.2.0-py3-none-any.whl

Download URL wagtail_guide-2.2.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a526c7afcc3568525386f97dc03b190aaf444ae967221861a92bcab22b1e5e98
BLAKE2b-256 checksum
How to use checksums
401bad446187f652c6bf9dda11314b6615baf6cf10657bf6099d22562e4c42a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.8.19

Release history Release notifications | RSS feed

This release

2.2.0 This release

2 release files

2.1.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.8

2 release files

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page