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)
Contributing
To set up your development environment:
- Create a new environment:
python -m venv ./venv/
# Mac and Linux
source ./venv/bin/activate
# Windows (PowerShell)
./venv/Scripts/Activate.ps1
- Enter the source code directory and install the package locally with additional development tools:
pip install -r requirements-dev.txt
-
Write some code.
-
Next, run the static analysis tools:
flake8 ./wagtailseo/
mypy ./wagtailseo/
codespell ./wagtailseo/ ./docs/
- 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 athtmlcov/index.html
when finished, which you can open in your browser.
pytest ./testproject/
- To build the documentation, run the following, which will output to the
docs/_build/html/
directory.
sphinx-build -M html ./docs/ ./docs/_build/ -W
- 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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for wagtail_seo-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7048c292d9b111905f0361cebde58ae36ab05e1713b099d695e6f2f2bbfbf00c |
|
MD5 | da8b42430695b7301488106543bf87b3 |
|
BLAKE2b-256 | 23c03a6e838f873fb9957874fc5739cc20a5cc6793be87689eb9d3363c2d1d7b |