Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Flask extension to integrate discourse content generated to docs to your website.

Project description


Flask extension to integrate discourse content generated to docs to your website.


Install the project with pip: pip install canonicalwebteam.discourse_docs

You can add the extension on your project as follows, replacing, at least, base_url and index_topic_id with your own settings:

import talisker.requests
from canonicalwebteam.discourse_docs import DiscourseDocs, DiscourseAPI

app = Flask("myapp")
session = talisker.requests.get_session()

discourse_docs = DiscourseDocs(
            base_url="", session=session

Once this is added you will need to add the file document.html to your template folder.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for canonicalwebteam.discourse-docs, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size canonicalwebteam.discourse_docs-1.0.1-py3-none-any.whl (18.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size canonicalwebteam.discourse_docs-1.0.1.tar.gz (13.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page