Compare commits
No commits in common. "58ee0f31067250f7b864d688539789beb5069b41" and "1f37457b9f9005b16678e3eaf7b3f6bf66eb2d91" have entirely different histories.
58ee0f3106
...
1f37457b9f
4 changed files with 6 additions and 14 deletions
|
|
@ -1,9 +1,3 @@
|
||||||
## 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.0a1"
|
version = "0.2.0a0"
|
||||||
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.1,<2",
|
"rougail ~= 1.2,<2",
|
||||||
"tabulate ~= 0.9.0",
|
"tabulate ~= 0.9.0",
|
||||||
"rich ~= 13.9.3",
|
"rich ~= 13.9.3",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
"""
|
"""Annotate for documentation
|
||||||
|
|
||||||
Silique (https://www.silique.fr)
|
Silique (https://www.silique.fr)
|
||||||
Copyright (C) 2024
|
Copyright (C) 2024
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -94,12 +94,9 @@ class RougailOutputDoc(Examples):
|
||||||
]
|
]
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
def run(self) -> str:
|
def run(self):
|
||||||
"""Print documentation in stdout"""
|
"""Print documentation in stdout"""
|
||||||
return self.gen_doc()
|
print(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