Skip to content

Commit

Permalink
Try and fix issues in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooshua committed Aug 14, 2023
1 parent 6c72afe commit 098109f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# If specified, the workflow will be triggered automatically once you push to the `main` branch.
# Replace `main` with your branch’s name
push:
branches: ["main"]
branches: ["master"]
# Specify to run a workflow manually from the Actions tab on GitHub
workflow_dispatch:

Expand All @@ -27,7 +27,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -47,21 +47,21 @@ jobs:
artifacts/${{ env.ARTIFACT }}
artifacts/report.json
retention-days: 7

# Add the step below to upload Algolia indexes
- name: Upload algolia-indexes
uses: actions/upload-artifact@v3
with:
name: algolia-indexes
path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
retention-days: 7

# Add the job below and artifacts/report.json on Upload documentation step above if you want to fail the build when documentation contains errors
test:
# Requires build job results
needs: build
runs-on: ubuntu-latest

steps:
- name: Download artifacts
uses: actions/download-artifact@v1
Expand All @@ -73,7 +73,7 @@ jobs:
uses: JetBrains/writerside-checker-action@v1
with:
instance: ${{ env.INSTANCE }}

deploy:
environment:
name: github-pages
Expand Down
7 changes: 0 additions & 7 deletions docs/Writerside/topics/Plugins-Custom-Events.topic
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@
without needing to be aware of their existance.
</link-summary>

<seealso style="cards">
<category ref="related">
<a href="Plugins-Routing.topic">Custom Routing</a>
<a href="Plugins-Events.topic">Event Types</a>
</category>
</seealso>

<p>
Custom events are a fast and easy way to invoke code in other plugins.
(Compare this to <a href="Plugins-Routing.topic">Custom Routing</a>,
Expand Down
2 changes: 1 addition & 1 deletion docs/Writerside/topics/Plugins-Routing.topic
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
</p>
<code-block lang="c#">
public class CommandInputAttribute
: LkTypedParameterAttribute<CommandInput, EventInput>
: LkTypedParameterAttribute&lt;CommandInput, EventInput>
{
public override CommandInput Inject(Mount context, EventInput input)
=> input.Get&lt;CommandInput>();
Expand Down

0 comments on commit 098109f

Please sign in to comment.