mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
xonfig: added links (#5500)
Added links to xontribs in `xonfig web` ### After <img width="764" alt="image" src="https://github.com/xonsh/xonsh/assets/1708680/cf5a32e6-f04c-4718-a175-2bfc863632ba"> ## For community ⬇️ **Please click the 👍 reaction instead of leaving a `+1` or 👍 comment** --------- Co-authored-by: a <1@1.1> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
06aca868a2
commit
01169c9041
1 changed files with 28 additions and 0 deletions
|
@ -256,6 +256,34 @@ class XontribsPage(Routes):
|
||||||
]
|
]
|
||||||
|
|
||||||
def get(self):
|
def get(self):
|
||||||
|
yield t.card()[
|
||||||
|
t.card_body()[
|
||||||
|
t.card_title()["Popular xontrib sources"],
|
||||||
|
t.card_body()[
|
||||||
|
t.li()[
|
||||||
|
t.a(href="https://github.com/topics/xontrib")[
|
||||||
|
"Xontribs on Github"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
t.li()[
|
||||||
|
t.a(href="https://github.com/xonsh/awesome-xontribs")[
|
||||||
|
"Awesome xontribs"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
t.li()[
|
||||||
|
t.a(
|
||||||
|
href="https://xon.sh/api/_autosummary/xontribs/xontrib.html"
|
||||||
|
)["Core xontribs"]
|
||||||
|
],
|
||||||
|
t.li()[
|
||||||
|
t.a(href="https://github.com/xonsh/xontrib-template")[
|
||||||
|
"Create a xontrib step by step from template"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
],
|
||||||
|
]
|
||||||
|
]
|
||||||
|
yield t.br()
|
||||||
for name, data in self.xontribs.items():
|
for name, data in self.xontribs.items():
|
||||||
yield t.row()[t.col()[self.xontrib_card(name, data),]]
|
yield t.row()[t.col()[self.xontrib_card(name, data),]]
|
||||||
yield t.br()
|
yield t.br()
|
||||||
|
|
Loading…
Add table
Reference in a new issue