Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ repos:
rev: v6.2.4
hooks:
- id: rstcheck
args: ['--ignore-directives=tabs,toctree,autoclass,cssclass,include', '--report-level=warning']
args: ['--ignore-directives=jupyterlite,tabs,toctree,autoclass,cssclass,include', '--report-level=warning']
12 changes: 6 additions & 6 deletions docs/assets/css/custom.css
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CSS copied from jupyterlite-sphinx project's docs

Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
.try-in-jupyterlite-button a {
.try_examples_button {
background-color: #f7dc1e;
color: black;
text-decoration: none;

border: none;
padding: 5px 10px;
border-radius: 15px;
font-family: vibur;
font-size: larger;
box-shadow: 0 2px 5px rgba(108, 108, 108, 0.2);
color: black;
}

.try-in-jupyterlite-button a:hover {
.try_examples_button:hover {
transform: scale(1.02);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
cursor: pointer;
color: white;
box-shadow: 0 2px 5px #f7dc1e;
}
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
JupyterGIS
==========

.. cssclass:: try-in-jupyterlite-button

`Try it with JupyterLite! <lite/>`_
.. jupyterlite::
:new_tab: True
:new_tab_button_text: Try it with JupyterLite!

JupyterGIS is a JupyterLab extension for collaborative GIS (Geographical Information System). It is designed to
allow multiple people to work on the same geospatial project simultaneously, facilitating discussion and collaboration
Expand Down
6 changes: 3 additions & 3 deletions docs/user_guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Thanks for trying out JupyterGIS!

```{cssclass} try-in-jupyterlite-button

[Try it with JupyterLite!](lite/)
```{jupyterlite}
:new_tab: True
:new_tab_button_text: Try it with JupyterLite!
```

JupyterGIS offers:
Expand Down
Loading