Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move plugins and theme to src #1578

Merged
merged 7 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/prepare/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: Allow modern Yarn
run: corepack enable
shell: bash
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,14 @@ jobs:
publish:
strategy:
matrix:
package: [core, cli, plugin-tutorial]
package: [core, cli]
include:
- package: core
path: 'package.json'
workspace: '@iota-wiki/core'
- package: cli
path: 'cli/package.json'
workspace: '@iota-wiki/cli'
- package: plugin-tutorial
path: 'plugins/tutorial/package.json'
workspace: '@iota-wiki/plugin-tutorial'
uses: ./.github/workflows/publish.reusable.yaml
with:
path: ${{ matrix.path }}
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ jobs:
tag:
strategy:
matrix:
package: [core, cli, plugin-tutorial]
package: [core, cli]
include:
- package: core
path: 'package.json'
workspace: '@iota-wiki/core'
- package: cli
path: 'cli/package.json'
workspace: '@iota-wiki/cli'
- package: plugin-tutorial
path: 'plugins/tutorial/package.json'
workspace: '@iota-wiki/plugin-tutorial'
uses: ./.github/workflows/tag.reusable.yaml
with:
path: ${{ matrix.path }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ To preview the Wiki locally, use the following steps. For more detailed scripts,

| Script | Explanation |
|---------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `prepare` | Prepare the environment by checking out submodules and building local packages needed for the Wiki build. |
| `prepare` | Prepare the environment by checking out submodules build. |
| `start` | Start a development server serving the Wiki, with hot reloading on changes. |
| `start:section:{section}` | Start a development server serving only a section of the Wiki, with hot reloading on changes. Available sections are `build`, `get-started`, `learn`, and `maintain`. |
| `build` | Build the Wiki. To build for production, checkout the latest version of external documentation by running `yarn checkout:remote` and set the `MODE` environment variable to `production`. |
Expand Down
8 changes: 0 additions & 8 deletions cli/src/commands/default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ const DefaultComponent: FC<DefaultComponentProps> = (props) => {
label: 'Check the current directory for broken links.',
value: 'check',
},
{
label:
'Configure the tutorial settings to properly list it on the IOTA Wiki.',
value: 'configure',
},
];

const onSelect = (item) => {
Expand All @@ -38,9 +33,6 @@ const DefaultComponent: FC<DefaultComponentProps> = (props) => {
if (item.value === 'check') {
props.command.cli.run(['check']);
}
if (item.value === 'configure') {
props.command.cli.run(['tutorial', 'configure']);
}
};

return (
Expand Down
Loading
Loading