Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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
59 changes: 59 additions & 0 deletions .github/.workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Build & Deploy Docusaurus (GitHub Pages)

on:
push:
branches: [ main ]
workflow_dispatch:

permissions:
contents: read
pages: write # required for actions/deploy-pages
id-token: write # required for OIDC auth to Pages

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
build:
name: Build site
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./website
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn
cache-dependency-path: website/yarn.lock

- name: Install deps
run: yarn install --frozen-lockfile

- name: Build
run: yarn build

# Package the static output for Pages
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./website/build

deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4
29 changes: 0 additions & 29 deletions .github/.workflows/test-deploy.yml

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.idea
folder
__pycache__
results
results

.vscode
.devcontainer
5 changes: 0 additions & 5 deletions website/docs/chapter-02/03_executing.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# 2.3 Executing Robot

::::lo[Learning Objectives]
Expand Down Expand Up @@ -200,7 +199,3 @@ There are basically two kinds of logging information in Robot Framework.

Log messages can be written with different levels of severity (i.e. `INFO`, `DEBUG`, `TRACE`, `WARN` or `ERROR`).
Which levels are written to the log can be controlled by the log level of an execution. Further information in later chapters.




10 changes: 10 additions & 0 deletions website/docs/example-exam/Example-exam.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import Quiz from '@site/src/components/Quiz/Quiz';

# Test the features thing

<Quiz name="TestExample" src="test.md"/>


# Example Questions from Pieter

<Quiz name="Example" src="Example.md"/>
3 changes: 3 additions & 0 deletions website/docs/example-exam/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"label": "Example Exam"
}
15 changes: 13 additions & 2 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ const config = {
url: 'https://robotframework.org',
baseUrl: '/robotframework-RFCP-syllabus/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
markdown: {
hooks: {
onBrokenMarkdownLinks: 'throw',
},
},
favicon: 'img/rf_favicon.png',
organizationName: 'robotframework', // Usually your GitHub org/user name.
projectName: 'robotframework-RFCP-syllabus', // Usually your repo name.
Expand Down Expand Up @@ -84,6 +88,11 @@ const config = {
to: '/docs/chapter-05/overview',
position: 'left',
},
{
label: 'Example Exam',
to: '/docs/example-exam',
position: 'left',
},
{
label: 'LOs',
to: '/docs/learning_objectives',
Expand Down Expand Up @@ -159,7 +168,9 @@ const config = {
additionalLanguages: ['robotframework', 'python'],
},
}),
plugins: [require.resolve('docusaurus-lunr-search')],
plugins: [
require.resolve('docusaurus-lunr-search')
],
};

module.exports = config;
Loading