Skip to content

Commit cb4a662

Browse files
committed
Revert "[DOCS] add releases page and modify README.md"
This reverts commit 7f95b12.
1 parent 4b12aec commit cb4a662

File tree

4 files changed

+0
-86
lines changed

4 files changed

+0
-86
lines changed

website/README.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -60,27 +60,6 @@ npm run serve
6060
> [!NOTE]
6161
> If you make changes to the contents inside `docs` directory, you can verify the changes locally by visiting https://localhost:3000/docs/setup after running `npm run serve`.
6262
63-
## Creating new pages with navbar access
64-
1. Create a new folder i.e. `releases` inside the `website` directory
65-
2. Create a new file i.e. `downloads.mdx` inside the `releases` directory
66-
3. Add necessary content to the markdown file
67-
4. Include the reference to the new folder in the `docusaurus.config.js` file as follows:
68-
* Add the new folder to the `plugins` array under `config` key, like
69-
```javascript
70-
[
71-
'@docusaurus/plugin-content-docs',
72-
{
73-
id: 'releases',
74-
path: 'releases',
75-
routeBasePath: 'releases',
76-
},
77-
]
78-
```
79-
* Add the new folder to the `items` array under `navbar` key, like
80-
```javascript
81-
{to: 'releases/downloads', label: 'Downloads', position: 'left'}
82-
```
83-
8463
## Docs
8564
### Creating new docs
8665
1. Place the new file into the `docs` folder.
@@ -100,11 +79,6 @@ npm run serve
10079
> [!NOTE]
10180
> You may see broken thumbnails for the blogs during `npm start` or `npm serve` because the images needs to be rendered from the main repo. This can only be tested after being merged to the main branch.
10281
103-
## Releases
104-
### Adding new release
105-
1. Create a `.mdx` file similar to `website/releases/release-0.1.0-incubating.mdx`
106-
2. Update the [downloads](releases/downloads.mdx) file to include the new release similar to the existing releases
107-
10882

10983
## Maintainers
11084
[Apache XTable™ (Incubating) Community](https://incubator.apache.org/projects/xtable.html)

website/docusaurus.config.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,6 @@ const config = {
2323
locales: ['en'],
2424
},
2525

26-
// add new pages here
27-
plugins: [
28-
[
29-
'@docusaurus/plugin-content-docs',
30-
{
31-
id: 'releases',
32-
path: 'releases',
33-
routeBasePath: 'releases',
34-
},
35-
],
36-
],
37-
3826
presets: [
3927
[
4028
'classic',
@@ -77,7 +65,6 @@ const config = {
7765
position: 'right',
7866
},
7967
{to: 'blog', label: 'Blogs', position: 'left'},
80-
{to: 'releases/downloads', label: 'Downloads', position: 'left'},
8168
],
8269
},
8370
prism: {

website/releases/downloads.mdx

Lines changed: 0 additions & 14 deletions
This file was deleted.

website/releases/release-0.1.0-incubating.mdx

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)