Commit 500d8ba
authored
Refresh PyGambit user guide and add interactive Jupyter notebook option (#556)
* add new logo
* add headers and link
* Add livehtml target to Makefile and update build instructions for live server when doing local development to docs
* tidy navbar
* downgrade Ipython to support current docs build process and add matplotlib
* simplify docs landing page
* Add external links and icon links to the HTML theme configuration
* Update PyGambit documentation for clarity and installation instructions
* reorder so pygambit first
* add link to older releases
* remove download section
* move bug reports section
* Update developer section to clarify team contributions and provide a link to the team page
* pygambit before tools
* refactor history section to the bottom
* remove empty quickstart doc
* add links to docs and site on README
* developer docs section
* update toc with developer section
* add version number to bug report template
* add operating system dropdown to bug report template
* move issues section to top
* add contributing code guidelines to documentation
* update requirements.txt to specify package versions
* ignore 'doc/**' and '.github/ISSUE_TEMPLATE/**' paths in all workflows
* also dont run on README.md changes
* Update Python version to 3.11 in Read the Docs configuration
* add revised logo
* neat centred logo and title
* update ipython and jupyter
* restore old logo
* initial notebook
* better game setup
* calculate equilibria
* use player names and strategy names instead of indices
* explain strategy profiles and payoffs
* tidy
* add how to create a game from arrays
* add extensive form example start text
* add trust game existing content
* explicit API calls
* finish equilibrium explanation with TODO questions
* rename notebook
* initial poker setup with information sets
* add outcomes and assign to nodes
* explain the outcomes better
* rename
* move trust game into new notebook
* read and save games
* explain extensive and normal form game distinction
* demo saving efg
* add to_arrays
* explain labels
* remove todos
* full notebook content
* remove equilibrium computation from this example
* reference links
* some notes added to the part before computing equlibria
* better explanation
* better explanation
* explain better
* explain better
* explain belief
* explain realiz_prob and node_value
* rename var
* explain strategy payoff better
* explain difference between strategy and behaviour profiles
* explain strategy and profile classes and subclasses better
* compare both methods
* intro for Acceptance criteria for Nash equilibria section
* commit before stash
* maxregret
* end of poker example
* add section links
* clarify section header
* add starting points notebook
* tutorial assumptions
* tutorials purpose
* tutorial 4
* add qre notebook
* add links
* finish t05
* render tutorials
* add pandoc to readthedocs config
* add pandoc to documentation requirements
* fix typos and improve clarity in contributing documentation
* tidy notebooks and add subheader
* update tutorial section titles
* fix headers
* separate docs sections
* move tutorials onto pygambit homepage
* update homepage link to pygambit
* reduce user guide to remaining content not in tutorials
* add header and link to it for representation of numerical data of a game
* move numerical data representation in pygambit to tutorial 03
* restructure to remove original user guide completely
* reorder table and add explanation
* remove deprecated user guide link
* save the new table
* update tutorial explainers
* correct no of tutorials
* fix up algorithm table
* break up the PyGambit page appropriately
* refine tutorial titles and sections
* refactor developer doc
* update running_locally tutorial with detailed setup instructions
* update tutorial names
* take prisoners dilemma out of summary details tags
* move import
* final save t01
* use reference not link
* rerun cells
* tidy top markdown
* explain better
* typo
* explain better
* typo
* indent episilon equilibria text
* rerun notebook cells
* tidy t4 and t5
* resave nb outputs
* use prior_action.label as node labels
* use Node.prior_action.label to set node labels
* initial tests
* remove old userguide tests
* organise imports
* refactor: simplify kernel shutdown handling in notebook tests
* organise imports again
* fix: update dependencies in CI workflow to include nbformat, nbclient, and ipykernel
* style: fix indentation in docstrings for tutorial notebook tests
* fix: skip notebook test on Python 3.9 in CI
* just "games"
* move how to run up
* split tutorials on main page
* move advanced tutorials to their own folder
* refer to tutorials properly
* move external programs doc which currently isnt linked to anywhere and add todo
* fix link to advanced tutorials
* add text above advanced tutorials list
* refactor: enhance tutorial notebook discovery to include advanced tutorials
* fix link to nfg file
* Add *.so files to .gitignore
* remove tutorial games from git
* fix tutorial game paths
* comment out the save/load lines
* update tutorials to use action labels
* remove note
* use prior action labels for parent nodes too
* update test requirements.txt to include notebook dependencies1 parent f6cdb55 commit 500d8ba
18 files changed
Lines changed: 3416 additions & 925 deletions
File tree
- .github/workflows
- doc
- tutorials
- advanced_tutorials
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
59 | | - | |
| 65 | + | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| |||
79 | 85 | | |
80 | 86 | | |
81 | 87 | | |
82 | | - | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
| |||
102 | 108 | | |
103 | 109 | | |
104 | 110 | | |
105 | | - | |
| 111 | + | |
106 | 112 | | |
107 | 113 | | |
108 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | | - | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
108 | | - | |
| 110 | + | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | | - | |
112 | | - | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
9 | 70 | | |
10 | 71 | | |
11 | 72 | | |
12 | | - | |
13 | | - | |
| 73 | + | |
0 commit comments