diff --git a/CODEOWNERS b/CODEOWNERS deleted file mode 100644 index 3bcedbd..0000000 --- a/CODEOWNERS +++ /dev/null @@ -1,7 +0,0 @@ -# CODEOWNERS: https://help.github.com/articles/about-codeowners/ - -# Primary repo maintainers. -* @gnolang/tech-staff - -# Docusaurus -/docusaurus/ @alexiscolin \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 1cc8b01..0000000 --- a/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM node:18.18.0-alpine3.18 as build - -WORKDIR /app - -COPY . . - -RUN rm -rf build docs - -WORKDIR /app/docusaurus - -RUN yarn install - -CMD [ "yarn", "start", "--host=0.0.0.0" ] diff --git a/Dockerfile.production b/Dockerfile.production deleted file mode 100644 index aa7c396..0000000 --- a/Dockerfile.production +++ /dev/null @@ -1,15 +0,0 @@ -FROM node:18.18.0-alpine3.18 AS build - -WORKDIR /app - -COPY . . - -WORKDIR /app/docusaurus - -RUN yarn run download-docs -RUN yarn install -RUN yarn build - -FROM nginx:stable-alpine - -COPY --from=build /app/docusaurus/build /usr/share/nginx/html/ diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 013277c..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,29 +0,0 @@ -version: "3" - -services: - docusaurus: - image: ghcr.io/gnolang/docs.gno.land:dev - build: - context: . - volumes: - - .:/app/docs - ports: - - 3000:3000 - environment: - - MEILISEARCH_URL="localhost:7700" - - MEILISEARCH_API_KEY="masterKey" - - MEILISEARCH_INDEX_UID="dev" - - meilisearch: - image: getmeili/meilisearch - restart: unless-stopped - environment: - - MEILI_MASTER_KEY=masterKey - - MEILI_NO_ANALYTICS=true - - MEILI_ENV=dev - - MEILI_LOG_LEVEL=info - - MEILI_DB_PATH=/data.ms - ports: - - 7700:7700 - #volumes: - # - ./data.ms:/data.ms diff --git a/docs/getting-started/exploring-gnoland.md b/docs/getting-started/exploring-gnoland.md new file mode 100644 index 0000000..8f316ba --- /dev/null +++ b/docs/getting-started/exploring-gnoland.md @@ -0,0 +1 @@ +# Why gno.land & Gno? \ No newline at end of file diff --git a/docs/getting-started/what-is-gnoland-gno.md b/docs/getting-started/what-is-gnoland-gno.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/getting-started/why-gnoland-gno.md b/docs/getting-started/why-gnoland-gno.md new file mode 100644 index 0000000..e69de29 diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index 7e13d08..0000000 --- a/netlify.toml +++ /dev/null @@ -1,36 +0,0 @@ -[build] -base = "docusaurus" - -publish = "build" - -command = "yarn run download-docs && yarn build && yarn install" - -[context.production.environment] -MEILISEARCH_URL = "https://docs-search.gnoteam.com" -MEILISEARCH_INDEX_UID = "production" -# To generate this token, exec -#curl https://docs-search.gnoteam.com/keys -H "Authorization: Bearer $MEILI_MASTER_KEY" -MEILISEARCH_API_KEY = "6d7b970053413ade30e07212c7d36c7cdea3f47ede2e63e1147317f8718e65e1" - -[[plugins]] -package = "@netlify/plugin-lighthouse" - -# [[headers]] -# # Define which paths this specific [[headers]] block will cover. -# for = "/*" - -# [headers.values] -# X-Frame-Options = "DENY" -# X-XSS-Protection = "1; mode=block" -# Content-Security-Policy = "frame-ancestors https://www.facebook.com" - -# # Multi-value headers are expressed with multi-line strings. -# cache-control = ''' -# max-age=0, -# no-cache, -# no-store, -# must-revalidate''' - -# # Basic-Auth allows you to password protect your whole site. -# # This feature may not be available on all plans. -# Basic-Auth = "someuser:somepassword anotheruser:anotherpassword" diff --git a/scripts/download-docs.sh b/scripts/download-docs.sh deleted file mode 100755 index e5b7448..0000000 --- a/scripts/download-docs.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -ROOT_DIR="$(dirname "$0")/.." - -wget -O /tmp/gno.zip "https://github.com/gnolang/gno/archive/refs/heads/master.zip" -unzip -d /tmp/ /tmp/gno.zip - -cp -r /tmp/gno-master/docs ${ROOT_DIR}/docs