Skip to content

Commit

Permalink
Refactoring documentation (#57)
Browse files Browse the repository at this point in the history
* Refactoring documentation

* Refactoring documentation

* update
  • Loading branch information
QubitPi authored May 13, 2024
1 parent a9b41d0 commit 15bb0e4
Show file tree
Hide file tree
Showing 34 changed files with 12,002 additions and 31,604 deletions.
3 changes: 2 additions & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

# Production
/build
/.docusaurus

# Generated files
.docusaurus
Expand All @@ -19,3 +18,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

/.docusaurus
25 changes: 8 additions & 17 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Installation
yarn
```

### Local Development
Local Development
-----------------

```console
yarn start
Expand All @@ -19,7 +20,8 @@ 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
Build
-----

```console
yarn build
Expand All @@ -28,19 +30,8 @@ yarn build
This command generates static content into the `build` directory and can be served using any static contents hosting
service.

### Deployment
Deployment
----------

Using SSH:

```console
USE_SSH=true yarn deploy
```

Not using SSH:

```console
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.
We use
[GitHub Action for automatic site deployment](https://github.com/paion-data/athena/blob/master/.github/workflows/ci-cd.yml).
15 changes: 15 additions & 0 deletions docs/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/**
* Copyright 2024 Paion Data
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
41 changes: 0 additions & 41 deletions docs/docs/client-apis/index.mdx

This file was deleted.

67 changes: 0 additions & 67 deletions docs/docs/client-apis/json-api.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/docs/contributing/_category_.json

This file was deleted.

120 changes: 0 additions & 120 deletions docs/docs/contributing/development.md

This file was deleted.

15,503 changes: 0 additions & 15,503 deletions docs/docs/contributing/img/class-diagram.ai

This file was deleted.

Binary file removed docs/docs/contributing/img/class-diagram.png
Binary file not shown.
Binary file removed docs/docs/contributing/img/download-jetty.png
Binary file not shown.
Loading

0 comments on commit 15bb0e4

Please sign in to comment.