Skip to content

Commit d3de5ff

Browse files
Merge pull request #2 from robotframework/main
Implement GlossaryTerm React component per reviewer feedback
2 parents c1614a6 + 5e114d7 commit d3de5ff

33 files changed

Lines changed: 5690 additions & 3933 deletions

.github/.workflows/pages.yml

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

Glossary_wip.md

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

LOs.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ LO-2.5.2.3,(K1),Recall the concept of keywords with embedded arguments used in B
5050
LO-2.5.2.4,(K1),"Recall how ""Positional or Named Arguments"" are marked in the documentation and their use case.",,,
5151
LO-2.5.2.5,(K1),"Recall how ""Variable Number of Positional Arguments"" are marked in the documentation and their use case.",,,
5252
LO-2.5.2.6,(K1),"Recall what properties ""Named-Only Arguments"" have and how they are documented.",,,
53-
LO-2.5.2.7,(K1),Recall how free named arguments are marked in documentation.,,,
53+
LO-2.5.2.7,(K1),"Recall how ""Free Named Arguments"" are marked in documentation.",,,
5454
LO-2.5.2.8,(K2),Understand the concept of argument types and automatic type conversion.,,,
5555
LO-2.5.2.9,(K2),Understand the concept of return type hints.,,,
5656
LO-2.5.3,(K2),Understand how to read keyword documentation and how to interpret the examples.,,,

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
- [`2.5.1 Documented Keyword Information`](website/docs/chapter-02/05_keyword_interface.md#251-documented-keyword-information)
9797
- LO-2.5.1 (K1) Recall the information that can be found in a keyword documentation.
9898
- [`2.5.1.1 Example Keyword `Should Be Equal``](website/docs/chapter-02/05_keyword_interface.md#2511-example-keyword-should-be-equal)
99-
- [`2.5.1.2 Example Keyword `Run Process``](website/docs/chapter-02/05_keyword_interface.md#2512-example-keyword-run-process)
99+
- [`2.5.1.2 Example Keyword `Set To Dictionary``](website/docs/chapter-02/05_keyword_interface.md#2512-example-keyword-set-to-dictionary)
100100
- [`2.5.1.3 Example Keyword `Get Regexp Matches``](website/docs/chapter-02/05_keyword_interface.md#2513-example-keyword-get-regexp-matches)
101101
- [`2.5.2 Keyword Arguments`](website/docs/chapter-02/05_keyword_interface.md#252-keyword-arguments)
102102
- LO-2.5.2 (K2) Understand the difference between argument kinds.
@@ -113,7 +113,7 @@
113113
- [`2.5.2.6 Named-Only Arguments`](website/docs/chapter-02/05_keyword_interface.md#2526-named-only-arguments)
114114
- LO-2.5.2.6 (K1) Recall what properties "Named-Only Arguments" have and how they are documented.
115115
- [`2.5.2.7 Free Named Arguments`](website/docs/chapter-02/05_keyword_interface.md#2527-free-named-arguments)
116-
- LO-2.5.2.7 (K1) Recall how free named arguments are marked in documentation.
116+
- LO-2.5.2.7 (K1) Recall how "Free Named Arguments" are marked in documentation.
117117
- [`2.5.2.8 Argument Types`](website/docs/chapter-02/05_keyword_interface.md#2528-argument-types)
118118
- LO-2.5.2.8 (K2) Understand the concept of argument types and automatic type conversion.
119119
- [`2.5.2.9 Return Types`](website/docs/chapter-02/05_keyword_interface.md#2529-return-types)

website/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88
.docusaurus
99
.cache-loader
1010

11+
# Build artifacts - TypeScript compiled JS files from TS sources
12+
docusaurus.config.js
13+
sidebars.js
14+
/src/components/**/*.js
15+
/src/pages/**/*.js
16+
/src/theme/**/*.js
17+
# Keep these JS files that are source files, not build artifacts:
18+
!/src/components/Quiz/quizPrebuild.js
19+
!/src/remark/*.js
20+
1121
# Misc
1222
.DS_Store
1323
.env.local

website/README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,27 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati
55
### Installation
66

77
```
8-
$ yarn
8+
$ npm install
9+
```
10+
11+
For reproducible installs in CI, use:
12+
13+
```
14+
$ npm ci
915
```
1016

1117
### Local Development
1218

1319
```
14-
$ yarn start
20+
$ npm run start
1521
```
1622

1723
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
1824

1925
### Build
2026

2127
```
22-
$ yarn build
28+
$ npm run build
2329
```
2430

2531
This command generates static content into the `build` directory and can be served using any static contents hosting service.
@@ -29,13 +35,13 @@ This command generates static content into the `build` directory and can be serv
2935
Using SSH:
3036

3137
```
32-
$ USE_SSH=true yarn deploy
38+
$ USE_SSH=true npm run deploy
3339
```
3440

3541
Not using SSH:
3642

3743
```
38-
$ GIT_USER=<Your GitHub username> yarn deploy
44+
$ GIT_USER=<Your GitHub username> npm run deploy
3945
```
4046

4147
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.

website/docs/chapter-01/02_architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ When executing or debugging tests|tasks, the editor supports the execution layer
3939
When writing keywords in e.g. Python for keyword libraries, the editor supports the adaptation layer.
4040
Therefore also other additional extensions of Robot Framework can be categorized into these layers.
4141

42-
<!-- TODO: add a graphic here -->
42+
{/* TODO: add a graphic here */}
4343

4444
## 1.2.2 What is Robot Framework & What It Is Not
4545

website/docs/chapter-01/04_styles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ While **Keyword-Driven Testing (KDT)** and **Behavior-Driven Development (BDD)**
1616

1717
Both styles can be mixed, even within the same test or task, but it is strongly recommended to have separate styles for separate purposes and not mix them within the same body.
1818
One practical solution would be to define acceptance test cases that cover users' expectations in a declarative *Behavior-Driven Style*, while using keywords that are implemented in an imperative *Keyword-Driven style*.
19-
Further system level test cases, that are not covering acceptance criteria could be written in a *Keyword-Driven style*.
19+
Further system level :term[test cases]{term="Test Case"}, that are not covering acceptance criteria could be written in a *Keyword-Driven style*.
2020

2121
The approach of both styles is different in that way,
2222
that the *Behavior-Driven Style* is a **declarative** specification,

website/docs/chapter-02/01_suitefile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ A suite file must contain either a `*** Test Cases ***` or a `*** Tasks ***` sec
194194

195195
See [2.6 Writing Test|Task and Calling Keywords](chapter-02/06_writing_test.md) for more information about the `*** Test Cases ***` or `*** Tasks ***` section.
196196

197-
<!-- TODO maybe more references to Test Setup/Teardown or Documentation? -->
197+
{/* TODO maybe more references to Test Setup/Teardown or Documentation? */}
198198

199199
### 2.1.2.4 Introduction to `*** Keywords ***` Section
200200

website/docs/chapter-02/02_suitefile_syntax.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11

22
# 2.2 Basic Suite File Syntax
33

4-
<!--
5-
TODO:
6-
I think this section needs a bit more structure and we should introduce the concept of "settings" like [Documentation] already here and reference to Chapter 4.
4+
{/* TODO: I think this section needs a bit more structure and we should introduce the concept of "settings" like [Documentation] already here and reference to Chapter 4.*/}
75

8-
-->
96

107
::::lo[Learning Objectives]
118

0 commit comments

Comments
 (0)