Compare commits
2 commits
1f37457b9f
...
58ee0f3106
| Author | SHA1 | Date | |
|---|---|---|---|
| 58ee0f3106 | |||
| e6a38423ef |
4 changed files with 14 additions and 6 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
## 0.2.0a1 (2024-11-28)
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- separation between run and print function
|
||||||
|
|
||||||
## 0.2.0a0 (2024-11-20)
|
## 0.2.0a0 (2024-11-20)
|
||||||
|
|
||||||
### Feat
|
### Feat
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "rougail.output_doc"
|
name = "rougail.output_doc"
|
||||||
version = "0.2.0a0"
|
version = "0.2.0a1"
|
||||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
description = "Rougail output doc"
|
description = "Rougail output doc"
|
||||||
|
|
@ -25,7 +25,7 @@ classifiers = [
|
||||||
|
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"rougail ~= 1.2,<2",
|
"rougail > 1.1,<2",
|
||||||
"tabulate ~= 0.9.0",
|
"tabulate ~= 0.9.0",
|
||||||
"rich ~= 13.9.3",
|
"rich ~= 13.9.3",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
"""Annotate for documentation
|
"""
|
||||||
|
|
||||||
Silique (https://www.silique.fr)
|
Silique (https://www.silique.fr)
|
||||||
Copyright (C) 2024
|
Copyright (C) 2024
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -94,9 +94,12 @@ class RougailOutputDoc(Examples):
|
||||||
]
|
]
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
def run(self):
|
def run(self) -> str:
|
||||||
"""Print documentation in stdout"""
|
"""Print documentation in stdout"""
|
||||||
print(self.gen_doc())
|
return self.gen_doc()
|
||||||
|
|
||||||
|
def print(self) -> None:
|
||||||
|
print(self.run())
|
||||||
|
|
||||||
def gen_doc(self):
|
def gen_doc(self):
|
||||||
"""Return documentation"""
|
"""Return documentation"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue