11 Commits

Author SHA1 Message Date
Johannes Kanig
e1edf75df9 Bump black to 25.1.0 2025-10-14 00:29:06 +00:00
Johannes Kanig
710a51fdf9 Use Boris' pagefind extension for SPARK doc
- remove now unused add-id.py file
- add pagefind-sphinx extension to shared sphinx_support folder
- add pagefind-sphinx extensions to extension list in conf.py
- provide pagefind.yml files to specify the location of the sites
- fix file copies in lrm/Makefile
- update .gitignore to ignore copied files
2024-10-16 11:27:24 +00:00
Yannick Moy
93bb050a56 Update Ada pygments for new attribute Initialized
Also update to refer to Ada instead of Ada 2012 throughout, and add new
version ada2022.

Also add all missing attributes from GNAT.
2024-05-30 15:48:41 +02:00
Johannes Kanig
b647075956 UA26-010 enforce python styles via flake8 and black
- Config mostly taken from anod repository
- Make all python files compliant
- Remove some obviously unused python files (still in python2
  syntax)

Change-Id: Ie90715f9e6e0a4831613faf0e9472706e210a7af
2021-12-16 10:26:01 +09:00
Sylvain Dailler
b159554ab6 (no-tn-check) Add syntax highlighting support for whyml
This solves a typo and add support for syntax highlighting in Whyml.

* docs/develguide/conf.py
Add the setup lines present in docs/ug/conf.py

* docs/develguide/translation_why3.rst
Put whyml code into codeblock of whyml

* docs/sphinx_support/whyml_pygments.py
Naive lexer for whyml.

Change-Id: I2be61e9f98d147198d2d679c30e9cd4295c00bf9
2018-06-15 13:31:02 +02:00
Johannes Kanig
9a21ece94a Q922-022 change version handling of SPARK doc
The source file "spark2014vsn.ads" contains dummy info, don't use it.
Instead, we use the Makefile variable VERSION. It also contains dummy info,
but the nightly build will set it to the correct value.

Change-Id: I9048ed47321d7a3ca8443a3207ea29071bf85c31
2017-09-28 09:46:39 +02:00
Yannick Moy
f634274565 Q614-059 Typo
Change-Id: Idd75786c72c1cab3e20d748372905eb1676f52f8
2017-06-15 10:49:32 +02:00
Yannick Moy
3b1e16608e Q614-059 Update keywords for GPR files
Change-Id: Ib854a3be1590d57beceba16aa944489ec0bdb399
2017-06-15 10:46:36 +02:00
Nicolas Roche
37f58baf8c Make Ada highlighter more permissive.
Unknown lexemes should not be considered as error.
Part of Q303-001

Change-Id: I321c46367092b4d80d7bfab441b1d768c86f0925
2017-03-27 10:55:38 +02:00
Nicolas Roche
720aa9bc9d Synchronize with gnatpython version
Part of Q113-017

Change-Id: I425751f7945246b57cd8fa50fe22b6bd2abf2349
2017-02-02 09:02:58 +01:00
Nicolas Roche
f62b11c18c Review procedure to find ada_pygments.py
Part of Q127-010

Change-Id: I753b0d1e7c83daa95595d40950b2d9a6526fbbc2
2017-01-30 12:05:15 +01:00