-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move from mkdocs to docusaurus (#80)
* Trial update * Adding initial .txt files of technologies Proposing to change terminology from climate adaptation to climate resilience * Delete docs/climate-adaptation/Mobile-tools.txt * renaming and reformatting AI.txt to ai.md * rename and reformat RMIS.txt to rmis-cres.md * rename and reformat IoT.txt to iot.md * rename and reformat EoT.txt to eot.md * rename and reformat Digital-twins.txt to digital-twins.md * rename and reformat Data-sources.txt to data-sources.md * reformat and rename Communication-collaboration.txt to communication.md * Update structure in ai.md * Update structure in communication.md * Update structure in data-sources.md * Update structure in digital-twins.md * Update structure in eot.md * Update structure in iot.md * Update structure in mobile-tools.md * Update structure in rmis-cres.md * New subfolder for introductory texts * Create subfolder for cres fact sheets * moving bim.md * moving bim.md * moving ai.md * moving communication.md * moving data-sources.md * moving digital-twins.md * moving eot.md * moving iot.md * moving mobile-tools.md * moving rmis-cres.md * Creating solutions-resilience.md * Creating opportunities.md * Creating challenges.md * Updating main index.md in climate adaptation folder * Correcting folder dependency in main index.md of climate-adaptation folder * Updating dependencies in main index.md of climate-adaptation folder * Correcting file naming in index.md * Adding licence to Index.md * Adding license to challenges.md * Adding license to opportunities.md * Adding license to solutions-resilience.md * Adding license to Index.md * moving bim.md * Updating mkdocs.yml to include subfolders of climate-adaptation * Updating index.md * Remove comments in main index.md of climate adaptation folder * Update ai.md to add integration section * Update communication.md with integration section * Update data-sources.md with integration section * Update digital-twins.md with integration section * Update eot.md with integration section * Update iot.md with integration section * Update mobile-tools.md with integration section * Update rmis-cres.md with integration section * Update communication.md with integration section * removing intro text from ai.md * removing intro text from communication.md * removing intro text from data-sources.md * removing intro text from digital-twins.md * remove intro text from eot.md * remove intro text from iot.md * remove intro text from mobile-tools.md * remove intro text from rmis-cres.md * checking branch location * Changing folder name to climate-resilience, updating mkdocs to page structure, updatind climate-resilience intro text and adding integration subpage. * Updating intro to climate resilience * First step to set-up docusaurus * More cleaning on docusaurus * Make it work relatively well. * Ready for deployment * Update index.tsx * No yarn * Make it possible to compile * Get the icons on the index right * Use the proper links * Update the admonition syntax * A bit of cleaning for the PR --------- Co-authored-by: Lionel Muñoz Rosas <[email protected]> Co-authored-by: fredgeo23 <[email protected]> Co-authored-by: Lionel Antonio Muñoz Rosas <[email protected]>
- Loading branch information
1 parent
d5042cc
commit e637b10
Showing
94 changed files
with
19,518 additions
and
1,229 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
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,51 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# Review gh actions docs if you want to further define triggers, paths, etc | ||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on | ||
|
||
jobs: | ||
build: | ||
name: Build Docusaurus | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: npm | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
- name: Build website | ||
run: npm run build | ||
|
||
- name: Upload Build Artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: build | ||
|
||
deploy: | ||
name: Deploy to GitHub Pages | ||
needs: build | ||
|
||
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment | ||
permissions: | ||
pages: write # to deploy to Pages | ||
id-token: write # to verify the deployment originates from an appropriate source | ||
|
||
# Deploy to the github-pages environment | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
name: Test deployment | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
# Review gh actions docs if you want to further define triggers, paths, etc | ||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on | ||
|
||
jobs: | ||
test-deploy: | ||
name: Test deployment | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: npm | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
- name: Test build website | ||
run: npm run build |
This file was deleted.
Oops, something went wrong.
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 +1,22 @@ | ||
*.DS_Store | ||
*.DS_Store | ||
|
||
# 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* |
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
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
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
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
Oops, something went wrong.