Skip to main content

Sphinx extensions for the Generic Mapping Tools

Project description

Sphinx extensions for the Generic Mapping Tools

Documentation | Documentation (development version) | Source Code

Latest version on PyPI GitHub Actions status Compatible Python versions. Contributor Code of Conduct

About

This package provides a Sphinx extension for including GMT code and figures in your documentation. The extension defines the gmtplot directive that will execute the given code and insert the generated figure into the document (like the matplotlib plot directive).

Features

  • Supports any version of GMT

  • Works with both Bash and Python (PyGMT)

  • Include code inline or load from a script

  • Options to show/hide the code, insert captions, link to hidden code, etc.

Contacting Us

Most discussion happens on Github. Feel free to open an issue or comment on any open issue or pull request.

Contributing

Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Contributing Guidelines

Please read our Contributing Guide to see how you can help and give feedback.

Imposter syndrome disclaimer

We want your help. No, really.

There may be a little voice inside your head that is telling you that you’re not ready to be an open source contributor; that your skills aren’t nearly good enough to contribute. What could you possibly offer?

We assure you that the little voice in your head is wrong.

Being a contributor doesn’t just mean writing code. Equality important contributions include: writing or proof-reading documentation, suggesting or implementing tests, or even giving feedback about the project (including giving feedback about the contribution process). If you’re coming to the project with fresh eyes, you might see the errors and assumptions that seasoned contributors have glossed over. If you can write any code at all, you can contribute code to open source. We are constantly trying out new skills, making mistakes, and learning from those mistakes. That’s how we all improve and we are happy to help others learn.

This disclaimer was adapted from the MetPy project.

License

This is free software: you can redistribute it and/or modify it under the terms of the BSD 3-clause License. A copy of this license is provided in LICENSE.txt.

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

sphinx_gmt-0.3.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

sphinx_gmt-0.3.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_gmt-0.3.0.tar.gz.

File metadata

  • Download URL: sphinx_gmt-0.3.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for sphinx_gmt-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7325e03e00039e882b002549804c8036d40a843e2b41e5c710e5e6351a66a3ec
MD5 5bb1614d69279ceed6eb9a6874bb57b9
BLAKE2b-256 bdab1c3f9c1131ecd10ef2359a297e5857f4b2660fdeee4c769616fd9ddd10db

See more details on using hashes here.

File details

Details for the file sphinx_gmt-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: sphinx_gmt-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for sphinx_gmt-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f342c6709f0761d6986ba545996a369e01197465ee4946f16963ccd977079ec0
MD5 fbc3b5e9409987a6c9e7cf5987c884a8
BLAKE2b-256 39b025d5e4280d9c706b4ad8bfdabfe7a8a5e0b5a1ba5d3cc3a70fc225083eb9

See more details on using hashes here.

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