Skip to content

Commit

Permalink
fix: build and files structure
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejVukosav committed Jun 12, 2024
1 parent 5e7afdf commit a34de09
Show file tree
Hide file tree
Showing 89 changed files with 10,446 additions and 12 deletions.
File renamed without changes.
8 changes: 3 additions & 5 deletions .github/workflows/docusaurus_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- master
paths:
- 'docs/**'
workflow_dispatch:

jobs:
Expand All @@ -26,14 +24,14 @@ jobs:
version: 8
run_install: false

- name: Change to docs Directory
run: cd docs && pnpm install && pnpm build
- name: Install dependencies and build
run: pnpm install && pnpm build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
publish_dir: ./build

notify-on-failure:
runs-on: ubuntu-latest
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/README.md → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Follow these steps to get started with the documentation:
1. Clone the repository (if you haven't already):

```bash
git clone https://github.com/calimero-network/core.git
git clone https://github.com/calimero-network.git
cd yourproject/docs
```

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: getting-started
title: Getting started
---

Before you start, make sure you are familiar with [Calimero Terminology](/core/learn/terminology).
Before you start, make sure you are familiar with [Calimero Terminology](/learn/terminology).

## Setup your local node

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Run the Admin Dashboard
pnpm start
```

Open your web browser and access admin dashboard on http://localhost:NODE_PORT/admin/.
Open your web browser and access admin dashboard on `http://localhost:NODE_PORT/admin/`.

> **_NOTE:_**
> Replace `NODE_PORT` with the `--server-port` value defined during node setup in [Getting-started](./01-getting-started.mdx)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/docusaurus.config.ts → docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const config: Config = {
"Calimero Network is a framework which enables building fully decentralized applications, ensuring everyone's data privacy.",
favicon: "img/favicon.ico",
url: "https://calimero-network.github.io",
baseUrl: "/core/",
baseUrl: "/",
organizationName: "calimero-network",
projectName: "core",
projectName: "calimero-2.0",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
i18n: {
Expand Down
File renamed without changes.
Loading

0 comments on commit a34de09

Please sign in to comment.