This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 2b8850b619 Python: Fix code highlighting in docs (#7484)
2b8850b619 is described below
commit 2b8850b619b8176b271b11d7a162c95fd4e1c921
Author: Brandon George <[email protected]>
AuthorDate: Mon May 1 01:45:20 2023 -0500
Python: Fix code highlighting in docs (#7484)
* updates to remove mkdocs warnings from_bytes()
* updated comments for mkdocs WARNINGS to be removed
* removal of warnings from mkdocs serve --strict
* changes to SortOrder init() added order_id arg
* reverted...
* updated for keyword args vs args order_id
* removed blank line 123 fom sorting.py
* finalizing comments
* Remove spaces
* fixed all mkdocs serve --strict warnings
* fixed trailing whitespace
* updates to comments for mkdocs serve --strict mode
* updates to io/__init__.py for mkdocs warns removal
* updates to remove mkdocs warns from types.py
* updates for schema.py to remove mkdocs warns
* updates to remove mkdoc warns from literals.py
* final mkdocs fixed transforms.py
* request PR changes from code review
* reuest format changes for comments
* fix pymdownx markdown_ext for code hihglights
---------
Co-authored-by: Fokko Driesprong <[email protected]>
---
python/mkdocs/mkdocs.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/python/mkdocs/mkdocs.yml b/python/mkdocs/mkdocs.yml
index 6040f00ebe..5f35129c6b 100644
--- a/python/mkdocs/mkdocs.yml
+++ b/python/mkdocs/mkdocs.yml
@@ -55,3 +55,6 @@ theme:
name: Switch to light mode
markdown_extensions:
- admonition
+ - pymdownx.highlight:
+ anchor_linenums: true
+ - pymdownx.superfences