Commit Graph

535 Commits

Author SHA1 Message Date
Franco Masotti 1e0ae6eb69
Prepare release
- Prepare md-toc version 8.2.2
2023-11-09 13:17:49 +01:00
Franco Masotti ce1199e32d
Change unit test suite
- Use tox to run parallel unit tests based on the Python version
- Bump fpyutils to 4.0.1 (fixes regression)
- Support Python versions >= 3.8
2023-11-08 23:27:55 +01:00
Franco Masotti 62934db666
Add PDF output
- Add support for PDF output through LaTeX
2023-11-07 23:49:36 +01:00
Franco Masotti e6b9ee27e4
Add missing row
- Add missing row in md-toc documentation version table
2023-11-07 18:04:14 +01:00
Franco Masotti d1d3bf884b
Prepare release 8.2.1
- Update version numbers
- Update contacts
2023-11-07 17:55:58 +01:00
Franco Masotti ee79d4f1b0
Update Sphinx documentation
- Update development dependencies
- Update Sphinx documentation and its theme to latest possible version
- Bump fpyutils requirement to 4.0.0
2023-11-07 13:45:44 +01:00
Franco Masotti 3491a58f23
Add notice
- Add important notice for version 9
2023-11-05 23:58:18 +01:00
Franco Masotti 87ad92d0ee
Add missing paramter
- Add missing `vidible` parameter in the type definitions and in the
  tests
- Add missing information in a docstring
2023-11-03 17:55:21 +01:00
Franco Masotti 0da74bd9e4
Minor fixes
- Fix some typings and return values
2023-10-28 00:08:46 +02:00
Franco Masotti dea7f3d2e4
Memory optimization
- Use of the SHA1 checksum for the keys of the `header_duplicate_counter`
  dict.
2023-10-26 14:33:18 +02:00
Franco Masotti 62661acef2
Code cleanup
- More use of list and dict comprehensions
- Improve typing checks and add new type definitions
- Remove data types checks for some functions: this cleans up code and
  delegates responsability to the developer who must check the typing
  definitions
- Remove useless variables
- Bump minimum supported Python version to 3.8
2023-10-25 17:22:48 +02:00
Franco Masotti 0483b8a3b0
Add missing data
- Remember to update version number in docs
2023-08-08 18:16:47 +02:00
Franco Masotti f10353c771
Prepare for version 8.2.0
- Update version numbers
- Fix Makefile command
- Update requirements
2023-08-08 17:58:09 +02:00
Franco Masotti 93b92537d7
Add new files
- Add new asciinema files for version 8.2.0
2023-08-08 17:50:20 +02:00
Franco Masotti 203bc91161
Minor cleanups
- Minor documentation cleanups
- Use of YouTube video instead of asciinema
2023-08-07 20:15:23 +02:00
Franco Masotti c26770bfdc
Fixed makefile target
- Use of the '--break-system-packages' option for the 'install' target in
  the Makefile: pip versions less than 23 do not have to use this
  option.
2023-07-29 18:57:52 +02:00
Franco Masotti f0b6a2c6a4
Minor fixes
- Fix wording in readme
- Update pre-commit hooks
2023-07-29 18:38:30 +02:00
Franco Masotti a8b3be82da
Add more content in feature tables
- Add note and more projects in feature tables. This definetly closes
  issue #36
2023-07-27 18:30:16 +02:00
Franco Masotti e384370d9f
Update documentation
- Fix feature tables with new and old data
2023-07-27 17:46:13 +02:00
Franco Masotti 4e188b59d6
Continue fixes for issue #40
- More code cleanup
- Add missing unit tests
2023-07-23 17:29:34 +02:00
Franco Masotti ee41b20a8d
Cleanup
- Add one unit test
- Change behavior for the diff option: work when run in place as well
- Code cleanup for the diff option
- Update a pre-commit hook that failed during installation
2023-07-17 18:05:38 +02:00
Franco Masotti ea83850ded
Initial implementation for issue #40
- Add the `--diff` option: when printing the TOC to the stdout, md-toc returns
  128 if the newly generated TOC differs from the one already existing
  in the file. This is usefult for certain CI systems that don't allow
  changing file in place with pre-commit.
2023-06-03 18:28:18 +02:00
Franco Masotti a7561f324f
Prepare for new release
- Update version numbers
- Update copyright years
2023-02-09 23:31:12 +01:00
Franco Masotti 05ae7ef283
Update documentation
- Split md-toc version table, add updates and fixes
2023-02-09 23:18:15 +01:00
Franco Masotti 0eb85fdb0a
Bug fixes
- Fix some translated cmark code
- Enable some commented tests
2023-02-01 12:51:20 +01:00
Franco Masotti c7a9f275ff
Move constants
- Move some cmark constants to appropriate files and change their type
- Minor fixes
2023-01-29 19:51:21 +01:00
Franco Masotti 880f537d38
Fix documentation
- Update and fix documentation
2023-01-29 17:11:29 +01:00
Franco Masotti faa404a8c9
Fix documentation
- Add API example in readme
- Fix install documentation
2023-01-10 17:47:09 +01:00
Franco Masotti 09af0a0ace
Fix dependency
- Fix dependency in PKGBUILD
2023-01-06 19:50:00 +01:00
Franco Masotti 05c5f64012
Update dependency
- Update dependency in PKGBUILD
2023-01-06 19:35:13 +01:00
Franco Masotti 52b2037cb2
Prepare for new release
- Prepare for release 8.1.8
2023-01-06 19:04:41 +01:00
Franco Masotti e3fb8ff89d
Use of freezed requirements file
- Use of freeze file for development environments
- pkg_resources has been deprecated. Use importlib.metadata where possbile.
  importlib.metadata does not provide an alternative for pkg_resources.require,
  so drop the requirement check in setup.py
- Update fpyutils dependency
2023-01-05 19:02:42 +01:00
Franco Masotti 778f232e35
Update hooks
- Update pre-commit hooks
2023-01-05 00:25:39 +01:00
Franco Masotti 4e155d7cf3
Change PKGBUILD build and install methods
- Use of modern tools to build and install the package from the PKGBUILD file
2023-01-05 00:20:05 +01:00
Franco Masotti 16585a0285
Minor improvements
- Improve TOC list detection
- Use join instead of a string concatenation
2023-01-04 20:31:52 +01:00
Franco Masotti 6f3c7c8da1
Update descriptions
- Update program descriptions
2023-01-03 18:30:31 +01:00
Franco Masotti 50401036b5
Improve features table
- Split features table by subject
- Add more projects in features table
2023-01-02 18:41:55 +01:00
Franco Masotti 10d3ab5ce7
Update readme
- Add Conda badge in readme
2022-12-30 23:11:47 +01:00
Franco Masotti da53e6d3b3
Add missing line
- Add missing line in markdown spec table
2022-12-29 18:35:47 +01:00
Franco Masotti 741b478dd5
Prepare new release
- Update release number
- Minor fixes
2022-12-29 17:51:24 +01:00
Franco Masotti 33ee379e95
Change development environment
- Use of pip + venv instead of Pipenv
- Fix manifest file
- Update Makefile to use the new environment
- Update dependency
2022-12-29 16:53:47 +01:00
Franco Masotti 493b92978b
Add md-toc logo
- Add new md-toc logo
2022-12-23 23:46:56 +01:00
Franco Masotti 498c6d6852
Minor tweaks
- Add a couple of minor tweaks
2022-12-22 23:23:06 +01:00
Franco Masotti 10c57c297c
Fixes and improvements
- Use of list comprehensions instead of for loops for possible speed
  improvement
- Fix wrong variable names
- Improve random string generation speed for benchmarks
- Fix benchmarks code
2022-12-22 23:20:06 +01:00
Franco Masotti 42d432def1
Minor documentation fixes
- Add row in features table
- Add important notices
2022-12-19 13:50:13 +01:00
Franco Masotti 4b758ec4da
Fix some private functions
- Fix some cmark emphasis detection and removal functions
  See issue #25
2022-12-19 00:10:00 +01:00
Franco Masotti d941bf5ed7
Fix typo
- Fix typo in CLI argument parser
2022-12-18 18:07:31 +01:00
Franco Masotti 420beea05e
Improve documentation
- Continue fixing issue #36: add feature comparsion table
2022-12-17 19:04:58 +01:00
Franco Masotti ac7675cee2
Run linters
- Run linters on all files and fix warnings
- Add more ignore warning options for flake8
2022-12-16 22:45:28 +01:00
Franco Masotti d601d4e3d5
Move configuration
- Move some configuration from pre-commit file to setup.cfg
2022-12-16 19:56:31 +01:00