Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bilalm04/projectilesrs-mdbook
Manually ported SRS for the Projectile case study in Drasil
https://github.com/bilalm04/projectilesrs-mdbook
documentation markdown mdbook
Last synced: 5 days ago
JSON representation
Manually ported SRS for the Projectile case study in Drasil
- Host: GitHub
- URL: https://github.com/bilalm04/projectilesrs-mdbook
- Owner: BilalM04
- Created: 2024-05-16T14:18:46.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-21T20:46:35.000Z (8 months ago)
- Last Synced: 2024-05-22T15:55:36.614Z (8 months ago)
- Topics: documentation, markdown, mdbook
- Homepage: https://jacquescarette.github.io/Drasil/examples/projectile/SRS/srs/Projectile_SRS.html
- Size: 151 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Software Requirements Specification (SRS) Demo using mdBook
This project represents a manually crafted Software Requirements Specification (SRS), utilizing mdBook, for the [Projectile](https://jacquescarette.github.io/Drasil/examples/projectile/SRS/srs/Projectile_SRS.html)
case study within the [Drasil](https://github.com/JacquesCarette/Drasil) framework. It is intended to serve as a foundational reference for future Drasil development, guiding the generation of a new SRS artifact format.## Installation
Please follow the installation instructions in the [mdBook Documentation](https://rust-lang.github.io/mdBook/guide/installation.html).
## Demo
1. **Clone the Repository**: Clone this repository to your local machine.
2. **Launch the Server**: Open a command line interface in the cloned repository's directory and run `mdbook serve --open`.
3. **Acces the Local Server**: The terminal will display the `localhost` server address.## mdBook Quirks
- Have to wrap certain elements in `
` to be able to be referenced.
https://github.com/BilalM04/projectileSRS-mdbook/blob/f161644151831be02b66606552ba4b14f155e5c2/src/non-functional-req.md?plain=1#L4-L16
- Cannot add captions to tables and images. Have to use `CAPTION
`.
https://github.com/BilalM04/projectileSRS-mdbook/blob/f161644151831be02b66606552ba4b14f155e5c2/src/table-of-symbols.md?plain=1#L47-L49
- Mathjax LaTeX equations do not wrap similar to LaTeX (`$EQUATION$`) or HTML (`\(EQUATION\)`). mdBook syntax is `\\(EQUATION\\)` for inline and `\\[EQUATION\\]` for block equations.
- Some elements of equations require an extra `\`. Ex. new line is `\\\`.
- `\symbf` does not work in Mathjax LaTeX equations, have to use `\boldsymbol` instead.
- Typical list syntax does not work inside tables in Markdown. Have to wrap in `
- item1
- item2
https://github.com/BilalM04/projectileSRS-mdbook/blob/f161644151831be02b66606552ba4b14f155e5c2/src/data-definitions.md?plain=1#L13
- Accessible assets (Ex. images) need to be inside the `src` folder in order to be rendered. NOTE: There may be a way to use assets outside `src` through the `book.toml`
- Sometimes there is very little space or no space at all between components. Added `` to add extra space.
- Need to add mathjax support in the `book.toml`. Not added by default.
## Other Notes
- Having a page for Table of Contents may be redundant as mdBook automatically creates one for you.
- The HTML SRS for variables or short equations often uses HTML syntax, rather than LaTeX. For example, `` for italicizing single variables. This creates slight differences in appearance within the SRS. The mdBook demo uses LaTeX for everything.
- Each section and subsection has its own page. As a result, some pages have very little content.
- Can format code for tables in two ways. Both formats look the same when rendered.
- Visually readable code but longer
https://github.com/BilalM04/projectileSRS-mdbook/blob/9cc1553a9c9f95de1735dcc81c5f3285f6c073f2/src/table-of-units.md?plain=1#L6-L12
- Less readable code but shorter
https://github.com/BilalM04/projectileSRS-mdbook/blob/9cc1553a9c9f95de1735dcc81c5f3285f6c073f2/src/auxiliary-constants.md?plain=1#L4-L10