Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Add some drafts and last change in the footer
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoPonzi committed Jun 13, 2024
1 parent d45cf9a commit 4b36ccc
Show file tree
Hide file tree
Showing 12 changed files with 66 additions and 9 deletions.
8 changes: 8 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
[preprocessor.last-changed]
command = "mdbook-last-changed"
renderer = ["html"]
[book]
authors = ["Federico Ponzi"]
language = "en"
multilingual = false
src = "src"
title = "TLA+ Wiki"

[output.html]
# Optional: Your repository URL used in the link.
git-repository-url = "https://github.com/FedericoPonzi/tlaplus-wiki"
additional-css = ["last-changed.css"]
6 changes: 6 additions & 0 deletions last-changed.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
footer {
font-size: 0.7em;
text-align: center;
border-top: 1px solid black;
margin: 30px 0;
}
17 changes: 12 additions & 5 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,31 @@
# Summary

- [TLA+ Wiki intro](./intro.md)
- [Contributing]()
- [Contributing](./contributing.md)
----
- [TLA+ Codebase](./codebase/intro.md)
- [Contributing](./codebase/contributing.md)
- [Setting up the development environment](./codebase/ide.md)
- [Setting up the development environment](./codebase/devenv.md)
- [CI/CD overview](./codebase/ci-cd.md)
- [Codebase Architecture Walkthrough](./codebase/architecture.md)
- [Codebase Idiosyncrasies](./codebase/idiosyncrasies.md)
- [Wishlist](./codebase/wishlist.md)
- [Benchmarks]()
- [SANY]()
- [JPF]()
- [Java Path Finder](./codebase/jpf.md)
- []()
- [Learning TLA+]()
- [Learning TLA+](./learning/intro.md)
- [Lamport's video tutorial]()
- [Example repo]()
- [Notable repos]()
- [Using TLA+ and TLC](./using/intro.md)
- [Books]()
- [TLA]()
- [Typed Model Values]()
- [Pluscal]()
- []()
- [TLA+ Vs xxx](./learning/tla-comparisons.md)
- [Learning TLAP]()
- [Tools](./using/intro.md)
- [Vscode extension](./using/vscode.md)
- [Toolbox](./using/toolbox.md)
- [TLC CLI](./using/tlc-cli.md)
Expand Down
5 changes: 5 additions & 0 deletions src/codebase/ci-cd.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# CI/CD overview
The CI/CD is currently handled by Github Actions.

The tests are run as part of every PR and for every merge to main. The codebase is built against both Mac and Linux.


File renamed without changes.
6 changes: 4 additions & 2 deletions src/codebase/intro.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# TLA+ codebase
The tlatools codebase is a complex one, there are over 600k lines of code, in over 2000 files, written over 20+ years. And yet as the best distributed systems modelling tool on the market today, maintaining and improving it is critical.
The tlaplus codebase is very complex. There are over 600k lines of code, in over 2000 files, written over 20+ years. And yet as the best distributed systems modelling tool on the market today, maintaining and improving it is critical.

This overview is meant to orient new programmers as well as reorient existing ones.
TLA+ should be regarded as a piece of mission critical software, like a cryptography library. This means that it cannot accept any kind of change that could potentially break it. Especially because being open source software means that somebody will also need to spend time fixing it.

This chapter is meant to orient new programmers that want to navigate the codebase and start contributing, as well as reorient existing ones.
5 changes: 5 additions & 0 deletions src/codebase/jpf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Java Path Finder
Java Path Finder is a project developed by nasa for model checking Java bytecode. See [https://github.com/javapathfinder/jpf-core](https://github.com/javapathfinder/jpf-core).

JPF is used to test some of the tla+ classes.

5 changes: 5 additions & 0 deletions src/contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contributing

To contribute to this book, you will need a Github Account.


18 changes: 17 additions & 1 deletion src/intro.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# TLA+ Wiki intro
Welcome to TLA+ wiki. If you find errors, or have suggestions or feedback, please create a PR or an issue.
Welcome to TLA+ wiki. This wiki was created in response to the [2024 TLA+ community survey](http://discuss.tlapl.us/pdfW4MH5_0fKx.pdf).
More specifically, it aims to address the following feedbacks:

1. **Difficulty Understanding Existing Codebase and Documentation**: Respondents note challenges in comprehending the existing codebase and documentation. The lack of clear structure and architecture documentation, as well as the complexity of the Java codebase, pose significant obstacles for newcomers.
2. **Navigation and Documentation**: Navigating the various TLA+ resources and finding relevant documentation is identified as a challenge. Respondents note scattered and sometimes non-existent documentation, making it difficult to find the most relevant resources and assistance.
3. **Documentation and Tooling**: There is a strong consensus on the need for improved documentation, particularly in the form of better organised and comprehensive resources. This includes better documentation for the entire project, better release cycles for all TLA+ tools, and centralised documentation on a website rather than PDFs.


The takeaway also sums up the mission of this wiki well:

> **Streamlining Documentation**: There's a clear demand for better-organised documentation and centralised resources with a more modern interface to cater to users' preferences for accessible and comprehensive guidance.

This is a community-backed effort, so please if you find errors or suggestions/ideas/feedback, please create a PR or an issue.

If you want to contribute, please check [Contributing](contributing.md) page with detailed step by step. The source of this website is hosted [here](https://github.com/FedericoPonzi/tlaplus-wiki/).


1 change: 0 additions & 1 deletion src/learning.md

This file was deleted.

2 changes: 2 additions & 0 deletions src/learning/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Learning TLA+ and Model Checking

2 changes: 2 additions & 0 deletions src/learning/tla-comparisons.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# TLA+ Vs xxx
This page describes how does TLA+ compare to over specification and model checking tools.

0 comments on commit 4b36ccc

Please sign in to comment.