Skip to content

Commit

Permalink
docs: add new docs link warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Feb 16, 2024
1 parent 248525e commit 1c334cc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 156 deletions.
19 changes: 13 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,17 @@
"use_repository_button": True,
"use_download_button": True,
"home_page_in_toc": False,
"logo": {
# "link": "https://github.com/mdtanker/polartoolkit",
"alt_text": "PolarToolkit Logo - Homepage",
"image_light": "logo_light.png",
"image_dark": "logo_dark.png",
},
# "logo": {
# # "link": "https://github.com/mdtanker/polartoolkit",
# "alt_text": "PolarToolkit Logo - Homepage",
# "image_light": "logo_light.png",
# "image_dark": "logo_dark.png",
# },
# Announcement banner defined as a string of arbitrary HTML, temporarily
# displayed at the top of each page until the user begins scrolling.
"announcement": (
"<p>"
"⚠️ Antarctic-Plots has been renamed to PolarToolkit, please use the updated docs <a href='https://polartoolkit.readthedocs.io/'>here</a> ⚠️" # noqa: E501
"</p>"
),
}
153 changes: 3 additions & 150 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,150 +1,3 @@
# PolarToolkit

Helpful tools for polar researchers

```{include} ../README.md
:start-after: <!-- SPHINX-START1 -->
:end-before: <!-- SPHINX-END1 -->
```

```{image} cover_fig.png
:alt: cover figure
:width: 400px
:align: center
```

```{admonition} Early-stages of development
:class: seealso
This package is in early stages of development! This means that we are still adding a lot of new features and sometimes we make changes to the ones we already have while we try to improve the software based on users' experience, test new ideas, make better design decisions, etc. Some of these changes could be **backwards incompatible**. Keep that in mind before you update polartoolkit to a newer version.
```


```{include} ../README.md
:start-after: <!-- SPHINX-START2 -->
:end-before: <!-- SPHINX-END2 -->
```


```{admonition} How to contribute
:class: seealso
I really welcome all forms of contribution! If you have any questions, comments or suggestions, please open a [discussion]() or [issue (feature request)]() on the [GitHub page](https://github.com/mdtanker/polartoolkit/)!
Also, please feel free to share how you're using PolarToolkit, I'd love to know.
Please, read our [Contributor Guide](https://github.com/mdtanker/polartoolkit/blob/main/.github/CONTRIBUTING.md) to learn
how you can contribute to the project.
```

```{note}
*Many parts of this documentation was adapted from the* [Fatiando project](https://www.fatiando.org/).
```

```{toctree}
:maxdepth: 1
:hidden:
overview
install
gallery/index.md
tutorial/index.md
```

<!-- ```{nbgallery}
---
caption: 📚 Gallery
maxdepth: 1
glob:
---
gallery/basic_map
gallery/extend_pygmt
gallery/setting_projection
gallery/3D_stack
gallery/subplots
gallery/subplot_layout
``` -->

<!-- ```{nbgallery}
---
caption: 🚶 Tutorials
maxdepth: 1
glob:
---
tutorial/fetch_walkthrough
tutorial/profile_walkthrough
tutorial/regions_walkthrough
tutorial/utils_walkthrough
``` -->

```{toctree}
:maxdepth: 1
:hidden:
:caption: Tips
tips.ipynb
```

```{toctree}
:maxdepth: 2
:hidden:
:caption: 📖 Reference documentation
api/polartoolkit
citing.md
changelog.md
references.rst
```

```{toctree}
:maxdepth: 1
:hidden:
:caption: ℹ️ Other resources
contributing.md
Source code on GitHub <https://github.com/mdtanker/polartoolkit>
```


::::{grid} 2
:::{grid-item-card} {octicon}`rocket` Getting started?
:text-align: center
New to PolarToolkit? Start here!
```{button-ref} overview
:click-parent:
:color: primary
:outline:
:expand:
```
:::

:::{grid-item-card} {octicon}`comment-discussion` Need help?
:text-align: center
Start a discussion on GitHub!
```{button-link} https://github.com/mdtanker/polartoolkit/discussions
:click-parent:
:color: primary
:outline:
:expand:
Discussions
```
:::

:::{grid-item-card} {octicon}`file-badge` Reference documentation
:text-align: center
A list of modules and functions
```{button-ref} api/polartoolkit
:click-parent:
:color: primary
:outline:
:expand:
```
:::

:::{grid-item-card} {octicon}`bookmark` Using PolarToolkit for research?
:text-align: center
Citations help support our work
```{button-ref} citing
:click-parent:
:color: primary
:outline:
:expand:
```
:::
::::
```{danger}
Antarctic-Plots has been renamed to PolarToolkit, please use the updated docs <a href='https://polartoolkit.readthedocs.io/'>here</a>
```

0 comments on commit 1c334cc

Please sign in to comment.