Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SpontanCombust committed Apr 11, 2024
1 parent 1b82c19 commit 17a5968
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 12 deletions.
25 changes: 17 additions & 8 deletions RELEASE_TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,20 @@
Just a list of all the tasks that are to be done before the release, so I don't forget about any of them :sweat_smile:

1. Check TODOs
2. Bump version in `Cargo.toml`
3. Bump version in client `package.json`
4. Update extension README
5. Update documentation
6. Verify the website
7. Verify documentation/site links
8. Upload release to VSCode Marketplace
9. Move tasks on the board to `Shipped`
2. Update extension README
3. Update documentation

4. Verify Linux version
5. Verify README in extensions tab

6. Merge to master

7. Verify the website
8. Verify documentation/site links

9. Bump version in `Cargo.toml`
10. Bump version in client `package.json`
11. Create a version tag and the release

12. Verify Marketplace
13. Move tasks on the board to `Shipped`
23 changes: 20 additions & 3 deletions docs/dev-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ Here you will find the information you need if you want to contribute to this pr


## Project structure
- `.cargo` - Cargo configuration to enable xtasks
- `.vscode` - VSCode specific files with debugging configurations
- `crates` - server Rust code. The main crate is `lsp`, which contains language server implementation
- `docs` - project documentation from which this website is built
- `editors` - contains implementations of WitcherScript language client, currently just `vscode` client written in TypeScript
- `test_assets` - file assets used by tests
- `xtask` - code for build commands to speed up development


Expand All @@ -20,12 +22,12 @@ Currently available xtask commands:

- `prep-server` - build and copy LSP server executable into VSCode's extension directory
- `--release` - should LSP be built with optimised release profile
- `--target` - compilation target triple
- `--target` - compilation target triple, e.g. x86_64-pc-windows-msvc
- `prep-client` - build VSCode client
- `--watch` - whether client should be continuously watched for changes made to it and rebuilt
- `package` - build and package VSCode extension into a .vsix file
- `--out-dir` - output directory for the .vsix file; default is the current working directory
- `--out-name` - name of the output file without the extension; default is "witcherscript-ide"
- `--out` - output path for the .vsix file; default is "./witcherscript-ide.vsix"
- `--target` - VSCode extension target, e.g. win32-x64
- `install` - build, package and install the VSCode extension


Expand All @@ -36,6 +38,21 @@ Use VSCode to debug the client and server. The project provides launch configura
- `Attach to Server` - attaches to the currently running server process created by the client. You need the [CodeLLDB extension](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb) for this.


## Building docs
Documentation of the project is generated using MKDocs. To locally serve and test the website:
1. Make sure you have [python3 with pip](https://www.python.org/downloads/) installed
2. Install MKDocs and dependencies
```sh
pip install mkdocs
pip install mkdocs-material
```
3. Serve the website
```sh
mkdocs serve
```

To learn more about MKDocs check out their website at <https://www.mkdocs.org/>.

## The project board
You can access the [project board](https://github.com/users/SpontanCombust/projects/2/views/1) conveniently detailing what has been done and future plans.

Expand Down
2 changes: 1 addition & 1 deletion docs/user-manual/editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Quick Start

1. Install the extension from [release](https://github.com/SpontanCombust/witcherscript-ide/releases) <!--TODO or install from marketplace when that is available-->
1. Install the extension from the [marketplace](https://marketplace.visualstudio.com/items?itemName=SpontanCombust.witcherscript-ide) or grab a .vsix file for your OS from the [releases](https://github.com/SpontanCombust/witcherscript-ide/releases) page.
2. Configure paths to existing vanilla and mod scripts by going to settings (File > Preferences > Settings). Start typeing "witcherscript" and look for "Game Directory" and "Content Repositories" settings.
3. Open the command prompt using Ctrl + Shift + P and start typeing "witcherscript". Choose a command to create or initialize a WitcherScript project.

Expand Down

0 comments on commit 17a5968

Please sign in to comment.