-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from nsidc/readthedocs
Init readthedocs
- Loading branch information
Showing
12 changed files
with
185 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,4 +142,7 @@ cython_debug/ | |
*~ | ||
|
||
# zipfiles | ||
*.zip | ||
*.zip | ||
|
||
# ctags | ||
/tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
version: 2 | ||
|
||
build: | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.9" | ||
|
||
sphinx: | ||
configuration: help/source/conf.py | ||
# There doesn't seem to be a way to turn on nitpicky mode. | ||
# This is equivalent to `-W --keep-going`. | ||
fail_on_warning: True | ||
|
||
formats: | ||
|
||
python: | ||
install: | ||
- requirements: help/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,33 @@ | ||
# QGreenland plugin | ||
[![NSF-1928393](https://img.shields.io/badge/NSF-1928393-red.svg)](https://nsf.gov/awardsearch/showAward?AWD_ID=1928393) | ||
|
||
The QGreenland plugin for QGIS allows to download dataset from the QGreenland | ||
project. | ||
# QGreenland Custom | ||
|
||
The QGreenland Plugin allows direct access to QGreenland layers without | ||
downloading the full QGreenland Package. | ||
|
||
[Our website](https://www.qgreenland.org) | | ||
[Documentation](https://qgreenland-plugin.readthedocs.io) | ||
|
||
|
||
## Disclaimer | ||
|
||
QGreenland should not be used as a sole navigational aid while performing | ||
remote research activities in Greenland. Always bring appropriate safety and | ||
navigational aids (including hard-copies of topographic maps) when visiting the | ||
field. | ||
|
||
QGreenland is a data-viewing and analysis platform, and the QGreenland Team | ||
does not create new data. QGreenland's layers may contain errors from the | ||
original data providers. QGreenland makes no guarantees about the accuracy and | ||
validity of data contained in QGreenland. Limited notes on known data issues | ||
have been added to the 'Towns and settlements' and 'Community map | ||
(crowdsourced)' layer metadata. Also, some layers may not perfectly align with | ||
each other due to unidentified georeferencing issues with the original data. We | ||
recommend using the 'Greenland coastlines 2017' layer as the best approximation | ||
reference layer for geolocating Greenland's coastline. | ||
|
||
Note that some data were transformed from their native data formats, | ||
projections, and resolutions for inclusion within QGreenland. The included | ||
metadata (>Layer Properties >Metadata >History) contains provenance information | ||
on any transformations. All QGreenland geopackages and geotiffs are | ||
projected in EPSG:3413. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
sphinx ~=4.3.2 | ||
sphinx-rtd-theme==1.0.0 | ||
myst-parser==0.15.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Citing QGreenland | ||
|
||
We request that QGreenland be cited or acknowledged when publishing a | ||
QGreenland-made image or map. | ||
|
||
|
||
## Citation | ||
|
||
> Moon, T., M. Fisher, L. Harden, & T. Stafford (2021). QGreenland[software]. | ||
> Available from https://qgreenland.org. | ||
> https://doi.org/10.5281/zenodo.4558266. | ||
|
||
## Acknowledgement | ||
|
||
> We acknowledge the National Snow and Ice Data Center QGreenland package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# How to develop QGreenland Custom | ||
|
||
## Development QGIS plugin install | ||
|
||
Install the plugin by symlinking this repository to your plugins directory, | ||
e.g.: | ||
|
||
``` | ||
ln -s $PWD ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/. | ||
``` | ||
|
||
Then in the QGIS "Manage and Install Plugins..." dialog's "Installed" tab, | ||
ensure the "QGreenland" plugin is enabled (checked). | ||
|
||
Use Plugin Reloader to reload the plugin after each change. | ||
|
||
|
||
## Edit docs | ||
|
||
To preview docs locally, create a local environment and install dependencies, | ||
then make the docs. | ||
|
||
``` | ||
cd help | ||
virtualenv env | ||
. env/bin/activate | ||
pip install -r requirements.txt | ||
make html | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.. _contributor-how-to: | ||
|
||
========================= | ||
Contributor how-to guides | ||
========================= | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:glob: | ||
|
||
./* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,33 @@ | ||
.. QGreenland documentation master file, created by | ||
sphinx-quickstart on Sun Feb 12 17:11:03 2012. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
.. QGreenland Custom documentation master file, created by sphinx-quickstart on | ||
Sun Feb 12 17:11:03 2012. You can adapt this file completely to your | ||
liking, but it should at least contain the root `toctree` directive. | ||
Welcome to QGreenland's documentation! | ||
============================================ | ||
|
||
Contents: | ||
================= | ||
QGreenland Custom | ||
================= | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:hidden: | ||
|
||
./what_is_qgr_custom.md | ||
./citing.md | ||
|
||
|
||
.. toctree:: | ||
:name: How-to | ||
:caption: How-to | ||
:maxdepth: 1 | ||
:hidden: | ||
|
||
./contributor-how-to/index | ||
|
||
|
||
|
||
Indices and tables | ||
================== | ||
.. only:: builder_html | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` | ||
.. include:: what_is_qgr_custom.md | ||
:parser: myst_parser.sphinx_ | ||
|
||
.. include:: citing.md | ||
:parser: myst_parser.sphinx_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# What is QGreenland Custom? | ||
|
||
QGreenland Custom is a QGIS plugin that enables you to access only the | ||
QGreenland layers you are interested in. If you want the Core QGreenland | ||
package, check out [the docs for that | ||
project](https://qgreenland.readthedocs.io). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
THIS_DIR="$( cd "$(dirname "$0")"; pwd -P )" | ||
cd "$THIS_DIR"/../help | ||
|
||
make clean && make html |