Skip to content

Commit

Permalink
Merge pull request #1 from unsw-edu-au/mostly-harmless
Browse files Browse the repository at this point in the history
This is now organised using docusaurus
  • Loading branch information
jrfep authored Apr 16, 2023
2 parents 1f9bcb3 + 99cd768 commit d3dfe44
Show file tree
Hide file tree
Showing 225 changed files with 17,574 additions and 305 deletions.
134 changes: 15 additions & 119 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,129 +3,24 @@ GIS data for analysis at the Centre for Ecosystem Science

Maintained by [@jrfep](https://github.com/jrfep)

## Folder contents
## Documentation with docusaurus

```sh
source ~/proyectos/UNSW/cesdata/env/project-env.sh
tree -L 3 $GISDATA

/srv/scratch/cesdata/gisdata
├── admin
│   └── global
│   └── World-Bank
├── antroposphere
│   └── global
│   └── Earthstats
├── climate
│   └── global
│   ├── CHELSA
│   ├── CRU_TS
│   └── Terraclimate
├── cryosphere
│   └── global
│   ├── GLIMS_2019
│   ├── LIAG_Ice
│   ├── Modis-MOD10A2-V006
│   ├── Modis-MOD10C2
│   ├── RGI_6.0
│   ├── SeaIceIndex
│   ├── SMMR_SeaIceTrends
│   ├── subglacial-lakes
│   ├── VIIRS-VNP10A1F-V001
│   └── WGI_2012
├── ecological
│   └── global
│   ├── EcologicalMarineUnits
│   ├── FAO-GEZ
│   └── NatureMap
├── ecoregions
│   ├── global
│   │   ├── FEOW
│   │   ├── LME
│   │   ├── MEOW
│   │   └── TEOW
│   └── regional
│   ├── Canada
│   └── IBRAv7
├── ecosystems
│   ├── global
│   │   ├── WCMC-coral-reefs
│   │   ├── WCMC-mangroves-2000
│   │   ├── WCMC-mangroves-GMW
│   │   └── WCMC-mangrove-types
│   └── regional
│   ├── MAES
│   └── worldbank-Central-America
├── fire
│   └── regional
│   └── australia-forest-fire-2011-16
├── forest
│   ├── global
│   │   ├── 3d-forest-JPL
│   │   └── GFC
│   └── regional
│   ├── Boreal-Forest-Monitoring
│   └── China
├── hydrology
│   └── global
│   ├── GIRES
│   ├── HydroATLAS
│   └── HydroLAKES
├── landcover
│   └── global
│   ├── FROM-GLC10
│   ├── GLC2000
│   ├── GlobCover
│   └── Modis
├── land-surface-temperature
│   └── global
│   ├── Modis-.
│   └── Modis-MOD11A2.006
├── plant-traits
│   └── global
│   └── TRY-leaf-trait-maps
├── protected
│   └── global
│   └── WDPA
├── radiation
│   └── global
│   └── glUV
├── soil
│   ├── global
│   │   └── permafrost
│   └── regional
│   ├── circumpolar_permafrost
│   └── soil-landscape-grid-australia
├── species-dist
│   └── global
│   ├── BOTW
│   └── IUCN_RLTS
├── topography
│   └── global
│   ├── EarthEnv-topography
│   ├── GMBA-Mountain-Inventory
│   ├── GME-Mountain-Inventory
│   └── SRTM30-plus
├── vegcover
│   └── global
│   └── Modis-MOD44B.006
├── vegetation
│   └── regional
│   ├── IVC-EcoVeg
│   └── NVIS-Australia
├── veglayer
│   ├── global
│   │   └── WHRC-tropics
│   └── regional
│   └── TERN-Vegetation-height
└── water
└── global
└── ModisDailyWater

111 directories, 0 files
I started to move all documentation to [docusaurus](https://docusaurus.io/docs) in order to generate a friendly website for sharing.

In a nutshell:

Install [Node.js](https://nodejs.org/en/download)

Then npx docusaurus

```sh
npx create-docusaurus@latest ~/sandbox/my-docusite classic
cd ~/sandbox/my-docusite
npx docusaurus start
```

And start editing!


## Overview of datasets

Expand Down Expand Up @@ -227,3 +122,4 @@ tree -L 3 $GISDATA
|Dataset|source|local|progress|
|---|---|---|---|
| Daily surface water | [10.1029/2018wr023060](http://dx.doi.org/10.1029/2018wr023060) | $GISDATA/water/ModisDailyWater/ |done|

15 changes: 0 additions & 15 deletions doc/admin/global/TM-World-Borders.md

This file was deleted.

26 changes: 0 additions & 26 deletions doc/anthroposphere/global/Aquastat-v5.0.md

This file was deleted.

11 changes: 0 additions & 11 deletions doc/anthroposphere/global/GRIP-road-database.md

This file was deleted.

13 changes: 0 additions & 13 deletions doc/anthroposphere/global/Irrigation-areas.md

This file was deleted.

14 changes: 0 additions & 14 deletions doc/ecoregions/global/OneEarth-bioregions.md

This file was deleted.

30 changes: 0 additions & 30 deletions doc/protected/global/WDPA.md

This file was deleted.

20 changes: 20 additions & 0 deletions docusite/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
41 changes: 41 additions & 0 deletions docusite/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Website

This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.

### Installation

```
$ yarn
```

### Local Development

```
$ yarn start
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

### Build

```
$ yarn build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.

### Deployment

Using SSH:

```
$ USE_SSH=true yarn deploy
```

Not using SSH:

```
$ GIT_USER=<Your GitHub username> yarn deploy
```

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
3 changes: 3 additions & 0 deletions docusite/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
Loading

0 comments on commit d3dfe44

Please sign in to comment.