Skip to main content

Search engine and social media optimization for Wagtail.

Project description

Wagtail SEO

Search engine and social media optimization for Wagtail.

(COMING SOON - Work in progress)

Source code on GitHub

Contributing

To set up your development environment:

  1. Create a new environment:
python -m venv ./venv/

# Mac and Linux
source ./venv/bin/activate

# Windows (PowerShell)
./venv/Scripts/Activate.ps1
  1. Enter the source code directory and install the package locally with additional development tools:
pip install -r requirements-dev.txt
  1. Write some code.

  2. Next, run the static analysis tools:

flake8 ./wagtailseo/
mypy ./wagtailseo/
codespell ./wagtailseo/ ./docs/

  1. Next, run the units tests. A simple Wagtail project using Wagtail SEO is in the testproject/ directory. The tests will generate a visual HTML file at htmlcov/index.html when finished, which you can open in your browser.
pytest ./testproject/
  1. To build the documentation, run the following, which will output to the docs/_build/html/ directory.
sphinx-build -M html ./docs/ ./docs/_build/ -W
  1. To create a python package, run the following, which will output the package to the dist/ directory.
python setup.py sdist bdist_wheel

Project details


Download files

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

Source Distribution

wagtail-seo-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

wagtail_seo-0.0.1-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page