Skip to content

Commit 99e9d38

Browse files
committed
Update docs to use mkdocstrings.
1 parent 61e8bcc commit 99e9d38

File tree

8 files changed

+22
-152
lines changed

8 files changed

+22
-152
lines changed

docs/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ authors:
1111

1212
<!-- [![Product Name Screen Shot][product-screenshot]](https://example.com) -->
1313

14-
An embeddable tkinter based Markdown editor with HTML preview.
14+
An embeddable tkinter based Markdown editor with HTML preview. The editor has
15+
syntax highlighting supplied by `Pygments` and the HTML preview window is
16+
provided by `tkinterweb`.
1517

1618
- Github Link: [https://github.com/hreikin/tkintermd](https://github.com/hreikin/tkintermd)
1719
- PyPi Link: [https://pypi.org/project/tkintermd/](https://pypi.org/project/tkintermd/)

docs/assets/python-logo.png

35.9 KB
Loading

docs/code-of-conduct.md

Lines changed: 0 additions & 128 deletions
This file was deleted.

docs/contributing-to-tkintermd.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Contributions are what make the open source community such an amazing place to l
55
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
66
Don't forget to give the project a star! Thanks again!
77

8-
1. Fork the Project
9-
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
10-
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
11-
4. Push to the Branch (`git push origin feature/AmazingFeature`)
12-
5. Open a Pull Request
8+
- Fork the Project
9+
- Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
10+
- Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
11+
- Push to the Branch (`git push origin feature/AmazingFeature`)
12+
- Open a Pull Request

docs/license.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2022 @hreikin ([email protected])
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

docs/reference/tkintermd-constants.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
1-
# `tkintermd` Constants
1+
# `constants`
22

33
::: tkintermd.tkintermd_constants
44
handler: python
55
<!-- selection:
66
members:
7-
- popup
8-
- on_scrollbar
9-
- on_mousewheel
10-
- select_all
11-
- find
12-
- open_md_file
13-
- save_as_md_file
14-
- save_md_file
15-
- on_input_change
16-
- load_style
17-
- check_markdown
18-
- apply_markdown_both_sides -->
7+
- cur_file -->
198
rendering:
209
show_root_heading: true
21-
show_source: true
10+
show_source: false

docs/reference/tkintermd-frame.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TkinterMDFrame
1+
# `TkinterMDFrame`
22

33
::: tkintermd.tkintermd_frame.TkinterMDFrame
44
handler: python
@@ -17,5 +17,5 @@
1717
- check_markdown
1818
- apply_markdown_both_sides
1919
rendering:
20-
show_root_heading: false
20+
show_root_heading: true
2121
show_source: false

docs/reference/tkintermd-lexer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Lexer
1+
# `Lexer`
22

33
::: tkintermd.tkintermd_frame.Lexer
44
handler: python
@@ -18,4 +18,4 @@
1818
- apply_markdown_both_sides -->
1919
rendering:
2020
show_root_heading: true
21-
show_source: true
21+
show_source: false

0 commit comments

Comments
 (0)