techsical 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- techsical/__init__.py +22 -0
- techsical/theme/assets/fonts/OFL-JetBrainsMono.txt +93 -0
- techsical/theme/assets/fonts/OFL-Manrope.txt +93 -0
- techsical/theme/assets/fonts/OFL-SourceSerif4.txt +93 -0
- techsical/theme/assets/fonts/jetbrains-mono-greek-wght-italic.woff2 +0 -0
- techsical/theme/assets/fonts/jetbrains-mono-greek-wght-normal.woff2 +0 -0
- techsical/theme/assets/fonts/jetbrains-mono-latin-ext-wght-italic.woff2 +0 -0
- techsical/theme/assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- techsical/theme/assets/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
- techsical/theme/assets/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
- techsical/theme/assets/fonts/manrope-greek-wght-normal.woff2 +0 -0
- techsical/theme/assets/fonts/manrope-latin-ext-wght-normal.woff2 +0 -0
- techsical/theme/assets/fonts/manrope-latin-wght-normal.woff2 +0 -0
- techsical/theme/assets/fonts/source-serif-4-greek-wght-italic.woff2 +0 -0
- techsical/theme/assets/fonts/source-serif-4-greek-wght-normal.woff2 +0 -0
- techsical/theme/assets/fonts/source-serif-4-latin-ext-wght-italic.woff2 +0 -0
- techsical/theme/assets/fonts/source-serif-4-latin-ext-wght-normal.woff2 +0 -0
- techsical/theme/assets/fonts/source-serif-4-latin-wght-italic.woff2 +0 -0
- techsical/theme/assets/fonts/source-serif-4-latin-wght-normal.woff2 +0 -0
- techsical/theme/assets/javascripts/math.js +31 -0
- techsical/theme/assets/stylesheets/fonts.css +142 -0
- techsical/theme/assets/stylesheets/techsical.css +956 -0
- techsical/theme/home.html +59 -0
- techsical/theme/mkdocs_theme.yml +44 -0
- techsical/theme/partials/copyright.html +21 -0
- techsical/theme/partials/header.html +98 -0
- techsical/theme/partials/icons.html +56 -0
- techsical/theme/partials/techsical-head.html +48 -0
- techsical-0.1.0.dist-info/METADATA +66 -0
- techsical-0.1.0.dist-info/RECORD +33 -0
- techsical-0.1.0.dist-info/WHEEL +4 -0
- techsical-0.1.0.dist-info/entry_points.txt +3 -0
- techsical-0.1.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{#-
|
|
2
|
+
techsical: portada. Se usa con `template: home.html` en el front matter de
|
|
3
|
+
docs/index.md. Sin menús laterales; arriba, la presentación (hero) y debajo el
|
|
4
|
+
contenido de la página. El título va en el front matter, no como # en el texto.
|
|
5
|
+
|
|
6
|
+
Front matter:
|
|
7
|
+
title: Nombre
|
|
8
|
+
hero:
|
|
9
|
+
lead: Una o dos frases.
|
|
10
|
+
actions: # botones (opcional)
|
|
11
|
+
- title: Empezar
|
|
12
|
+
url: guia/
|
|
13
|
+
primary: true
|
|
14
|
+
images: # hasta dos imágenes del proyecto (opcional)
|
|
15
|
+
- src: assets/images/captura.png
|
|
16
|
+
alt: Texto alternativo
|
|
17
|
+
caption: Pie (opcional)
|
|
18
|
+
-#}
|
|
19
|
+
{% extends "base.html" %}
|
|
20
|
+
|
|
21
|
+
{% block container %}
|
|
22
|
+
{% set hero = page.meta.hero | d({}, true) %}
|
|
23
|
+
{% set images = (hero.images or [])[:2] %}
|
|
24
|
+
<div class="md-content tx-home" data-md-component="content">
|
|
25
|
+
<article class="md-content__inner md-typeset">
|
|
26
|
+
<header class="tx-hero{% if images %} tx-hero--media{% endif %}">
|
|
27
|
+
<div class="tx-hero__text">
|
|
28
|
+
<h1 class="tx-hero__title">{{ page.meta.title or page.title }}</h1>
|
|
29
|
+
{% if hero.lead %}
|
|
30
|
+
<p class="tx-hero__lead">{{ hero.lead }}</p>
|
|
31
|
+
{% endif %}
|
|
32
|
+
{% if hero.actions %}
|
|
33
|
+
<div class="tx-hero__actions">
|
|
34
|
+
{% for action in hero.actions %}
|
|
35
|
+
<a href="{{ action.url | url }}"
|
|
36
|
+
class="md-button{% if action.primary %} md-button--primary{% endif %}">
|
|
37
|
+
{{- action.title -}}
|
|
38
|
+
</a>
|
|
39
|
+
{% endfor %}
|
|
40
|
+
</div>
|
|
41
|
+
{% endif %}
|
|
42
|
+
</div>
|
|
43
|
+
{% if images %}
|
|
44
|
+
<div class="tx-hero__media{% if images | length > 1 %} tx-hero__media--pair{% endif %}">
|
|
45
|
+
{% for image in images %}
|
|
46
|
+
<figure class="tx-hero__figure">
|
|
47
|
+
<img src="{{ image.src | url }}" alt="{{ image.alt | d('', true) | e }}" loading="lazy">
|
|
48
|
+
{% if image.caption %}
|
|
49
|
+
<figcaption>{{ image.caption }}</figcaption>
|
|
50
|
+
{% endif %}
|
|
51
|
+
</figure>
|
|
52
|
+
{% endfor %}
|
|
53
|
+
</div>
|
|
54
|
+
{% endif %}
|
|
55
|
+
</header>
|
|
56
|
+
{{ page.content }}
|
|
57
|
+
</article>
|
|
58
|
+
</div>
|
|
59
|
+
{% endblock %}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Tema techsical: extiende el tema de Zensical y fija sus valores por defecto.
|
|
2
|
+
# Lo que la web ponga en [project.theme] de su zensical.toml manda sobre esto.
|
|
3
|
+
extends: zensical
|
|
4
|
+
|
|
5
|
+
language: es
|
|
6
|
+
# Las fuentes van en el propio tema (assets/fonts, fonts.css): sin Google Fonts.
|
|
7
|
+
font: false
|
|
8
|
+
favicon: assets/favicon/favicon-32x32.png
|
|
9
|
+
|
|
10
|
+
features:
|
|
11
|
+
- content.code.annotate
|
|
12
|
+
- content.code.copy
|
|
13
|
+
- content.tabs.link
|
|
14
|
+
- content.tooltips
|
|
15
|
+
- navigation.footer
|
|
16
|
+
- navigation.indexes
|
|
17
|
+
- navigation.instant
|
|
18
|
+
- navigation.path
|
|
19
|
+
- navigation.sections
|
|
20
|
+
- navigation.top
|
|
21
|
+
- navigation.tracking
|
|
22
|
+
- search.highlight
|
|
23
|
+
- toc.follow
|
|
24
|
+
|
|
25
|
+
# Claro, oscuro y preferencia del sistema; los colores salen de techsical.css.
|
|
26
|
+
palette:
|
|
27
|
+
- media: "(prefers-color-scheme)"
|
|
28
|
+
toggle:
|
|
29
|
+
icon: lucide/sun-moon
|
|
30
|
+
name: Cambiar a modo claro
|
|
31
|
+
- media: "(prefers-color-scheme: light)"
|
|
32
|
+
scheme: default
|
|
33
|
+
primary: custom
|
|
34
|
+
accent: custom
|
|
35
|
+
toggle:
|
|
36
|
+
icon: lucide/sun
|
|
37
|
+
name: Cambiar a modo oscuro
|
|
38
|
+
- media: "(prefers-color-scheme: dark)"
|
|
39
|
+
scheme: slate
|
|
40
|
+
primary: custom
|
|
41
|
+
accent: custom
|
|
42
|
+
toggle:
|
|
43
|
+
icon: lucide/moon
|
|
44
|
+
name: Cambiar a la preferencia del sistema
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{#-
|
|
2
|
+
techsical: copia de partials/copyright.html de Zensical (zensical-ui 0.0.42)
|
|
3
|
+
que añade la dirección de la web (site_url), como el pie de una publicación.
|
|
4
|
+
-#}
|
|
5
|
+
<div class="md-copyright">
|
|
6
|
+
{% if config.site_url %}
|
|
7
|
+
<div class="tx-footer__url">
|
|
8
|
+
{{ config.site_url | replace("https://", "") | replace("http://", "") | trim("/") }}
|
|
9
|
+
</div>
|
|
10
|
+
{% endif %}
|
|
11
|
+
{% if config.copyright %}
|
|
12
|
+
<div class="md-copyright__highlight">
|
|
13
|
+
{{ config.copyright }}
|
|
14
|
+
</div>
|
|
15
|
+
{% endif %}
|
|
16
|
+
{% if not config.extra.generator == false %}
|
|
17
|
+
Hecho con
|
|
18
|
+
<a href="https://zensical.org/" target="_blank" rel="noopener">Zensical</a>
|
|
19
|
+
y <a href="https://github.com/isidro-rodriguez/techsical" target="_blank" rel="noopener">techsical</a>
|
|
20
|
+
{% endif %}
|
|
21
|
+
</div>
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{#-
|
|
2
|
+
techsical: copia de partials/header.html de Zensical (zensical-ui 0.0.42) con
|
|
3
|
+
dos cambios, marcados con «techsical»: la marca (nombre | descripción) en el
|
|
4
|
+
primer tema del título y, tras </header>, la barra de navegación propia
|
|
5
|
+
([project.extra.techsical] header_nav), independiente del menú lateral.
|
|
6
|
+
-#}
|
|
7
|
+
{% set class = "md-header" %}
|
|
8
|
+
{% if "navigation.tabs.sticky" in features %}
|
|
9
|
+
{% set class = class ~ " md-header--shadow md-header--lifted" %}
|
|
10
|
+
{% elif "navigation.tabs" not in features %}
|
|
11
|
+
{% set class = class ~ " md-header--shadow" %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
<header class="{{ class }}" data-md-component="header">
|
|
14
|
+
<nav class="md-header__inner md-grid" aria-label="{{ lang.t('header') }}">
|
|
15
|
+
<a href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}" title="{{ config.site_name | e }}" class="md-header__button md-logo" aria-label="{{ config.site_name }}" data-md-component="logo">
|
|
16
|
+
{% include "partials/logo.html" %}
|
|
17
|
+
</a>
|
|
18
|
+
<label class="md-header__button md-icon" for="__drawer">
|
|
19
|
+
{% set icon = config.theme.icon.menu or "material/menu" %}
|
|
20
|
+
{% include ".icons/" ~ icon ~ ".svg" %}
|
|
21
|
+
<span class="md-visually-hidden">{{ lang.t('nav') }}</span>
|
|
22
|
+
</label>
|
|
23
|
+
<div class="md-header__title" data-md-component="header-title">
|
|
24
|
+
<div class="md-header__ellipsis">
|
|
25
|
+
<div class="md-header__topic">
|
|
26
|
+
{#- techsical: marca editorial -#}
|
|
27
|
+
<span class="tx-brand">
|
|
28
|
+
<span class="tx-brand__name">{{ config.site_name }}</span>
|
|
29
|
+
{% if config.site_description %}
|
|
30
|
+
<span class="tx-brand__description">{{ config.site_description }}</span>
|
|
31
|
+
{% endif %}
|
|
32
|
+
</span>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="md-header__topic" data-md-component="header-topic">
|
|
35
|
+
<span class="md-ellipsis">
|
|
36
|
+
{% if page.meta and page.meta.title %}
|
|
37
|
+
{{ page.meta.title }}
|
|
38
|
+
{% else %}
|
|
39
|
+
{{ page.title }}
|
|
40
|
+
{% endif %}
|
|
41
|
+
</span>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
{% if config.theme.palette %}
|
|
46
|
+
{% if not config.theme.palette is mapping %}
|
|
47
|
+
{% include "partials/palette.html" %}
|
|
48
|
+
{% endif %}
|
|
49
|
+
{% endif %}
|
|
50
|
+
{% if not config.theme.palette is mapping %}
|
|
51
|
+
{% include "partials/javascripts/palette.html" %}
|
|
52
|
+
{% endif %}
|
|
53
|
+
{% if config.extra.alternate %}
|
|
54
|
+
{% include "partials/alternate.html" %}
|
|
55
|
+
{% endif %}
|
|
56
|
+
{% if "search" in config.plugins %}
|
|
57
|
+
{% set search = config.plugins["search"] | attr("config") %}
|
|
58
|
+
{% if search.enabled %}
|
|
59
|
+
<label class="md-header__button md-icon" for="__search">
|
|
60
|
+
{% set icon = config.theme.icon.search or "material/magnify" %}
|
|
61
|
+
{% include ".icons/" ~ icon ~ ".svg" %}
|
|
62
|
+
<span class="md-visually-hidden">{{ lang.t('search') }}</span>
|
|
63
|
+
</label>
|
|
64
|
+
{% include "partials/search.html" %}
|
|
65
|
+
{% endif %}
|
|
66
|
+
{% endif %}
|
|
67
|
+
<div class="md-header__source">
|
|
68
|
+
{% if config.repo_url %}
|
|
69
|
+
{% include "partials/source.html" %}
|
|
70
|
+
{% endif %}
|
|
71
|
+
</div>
|
|
72
|
+
</nav>
|
|
73
|
+
{% if "navigation.tabs.sticky" in features %}
|
|
74
|
+
{% if "navigation.tabs" in features %}
|
|
75
|
+
{% include "partials/tabs.html" %}
|
|
76
|
+
{% endif %}
|
|
77
|
+
{% endif %}
|
|
78
|
+
</header>
|
|
79
|
+
{#- techsical: barra de navegación propia bajo la cabecera -#}
|
|
80
|
+
{% set tx = config.extra.techsical | d({}, true) %}
|
|
81
|
+
{% if tx.header_nav %}
|
|
82
|
+
<nav class="tx-subnav" aria-label="{{ config.site_name | e }}">
|
|
83
|
+
<ul class="tx-subnav__list md-grid">
|
|
84
|
+
{% for item in tx.header_nav %}
|
|
85
|
+
{% set target = item.url | url %}
|
|
86
|
+
{% set prefix = item.url | replace("./", "") %}
|
|
87
|
+
{% set active = page and page.url and prefix and not "://" in prefix
|
|
88
|
+
and page.url[:prefix | length] == prefix %}
|
|
89
|
+
<li>
|
|
90
|
+
<a class="tx-subnav__link{% if active %} tx-subnav__link--active{% endif %}"
|
|
91
|
+
href="{{ target }}"{% if active %} aria-current="page"{% endif %}>
|
|
92
|
+
{{- item.title -}}
|
|
93
|
+
</a>
|
|
94
|
+
</li>
|
|
95
|
+
{% endfor %}
|
|
96
|
+
</ul>
|
|
97
|
+
</nav>
|
|
98
|
+
{% endif %}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{#-
|
|
2
|
+
techsical: copia de partials/icons.html de Zensical (zensical-ui 0.0.42) más
|
|
3
|
+
la inclusión de techsical-head.html al final. Es el punto de enganche en <head>
|
|
4
|
+
que no depende de main.html, que las webs pueden sobrescribir.
|
|
5
|
+
-#}
|
|
6
|
+
{% if config.theme.icon.admonition %}
|
|
7
|
+
{% set _ = namespace(style = "\u003cstyle\u003e:root{") %}
|
|
8
|
+
{% for type, icon in config.theme.icon.admonition | items %}
|
|
9
|
+
{% if type and icon %}
|
|
10
|
+
{% import ".icons/" ~ icon ~ ".svg" as icon %}
|
|
11
|
+
{% set _.style = _.style ~
|
|
12
|
+
"--md-admonition-icon--" ~ type ~ ":" ~
|
|
13
|
+
"url('data:image/svg+xml;charset=utf-8," ~
|
|
14
|
+
icon | replace("\n", "") | urlencode ~
|
|
15
|
+
"');"
|
|
16
|
+
%}
|
|
17
|
+
{% endif %}
|
|
18
|
+
{% endfor %}
|
|
19
|
+
{% set _.style = _.style ~ "}\u003c/style\u003e" %}
|
|
20
|
+
{{ _.style }}
|
|
21
|
+
{% endif %}
|
|
22
|
+
{% if config.theme.icon.annotation %}
|
|
23
|
+
{% set _ = namespace(style = "\u003cstyle\u003e:root{") %}
|
|
24
|
+
{% import ".icons/" ~ config.theme.icon.annotation ~ ".svg" as icon %}
|
|
25
|
+
{% set _.style = _.style ~
|
|
26
|
+
"--md-annotation-icon:" ~
|
|
27
|
+
"url('data:image/svg+xml;charset=utf-8," ~
|
|
28
|
+
icon | replace("\n", "") | urlencode ~
|
|
29
|
+
"');"
|
|
30
|
+
%}
|
|
31
|
+
{% set _.style = _.style ~ "}\u003c/style\u003e" %}
|
|
32
|
+
{{ _.style }}
|
|
33
|
+
{% endif %}
|
|
34
|
+
{% if config.theme.icon.tag %}
|
|
35
|
+
{% set _ = namespace(style = "\u003cstyle\u003e:root{") %}
|
|
36
|
+
{% for type, icon in config.theme.icon.tag | items %}
|
|
37
|
+
{% if type and icon %}
|
|
38
|
+
{% import ".icons/" ~ icon ~ ".svg" as icon %}
|
|
39
|
+
{% set modifier = "" %}
|
|
40
|
+
{% if type != "default" %}
|
|
41
|
+
{% set modifier = ".md-tag--" ~ type %}
|
|
42
|
+
{% endif %}
|
|
43
|
+
{% set _.style = _.style ~
|
|
44
|
+
".md-tag" ~ modifier ~ "{" ~
|
|
45
|
+
"--md-tag-icon:" ~
|
|
46
|
+
"url('data:image/svg+xml;charset=utf-8," ~
|
|
47
|
+
icon | replace("\n", "") | urlencode ~
|
|
48
|
+
"');" ~
|
|
49
|
+
"}"
|
|
50
|
+
%}
|
|
51
|
+
{% endif %}
|
|
52
|
+
{% endfor %}
|
|
53
|
+
{% set _.style = _.style ~ "}\u003c/style\u003e" %}
|
|
54
|
+
{{ _.style }}
|
|
55
|
+
{% endif %}
|
|
56
|
+
{% include "partials/techsical-head.html" %}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{#-
|
|
2
|
+
techsical: hojas de estilo del tema, variables de la web, favicons y manifiesto.
|
|
3
|
+
Se incluye desde partials/icons.html, dentro del bloque `styles` de base.html:
|
|
4
|
+
después de las hojas de Zensical y antes de extra_css, así la hoja propia de
|
|
5
|
+
la web puede pisar cualquier regla del tema.
|
|
6
|
+
|
|
7
|
+
[project.extra.techsical] admite: primary, accent, primary_dark, accent_dark
|
|
8
|
+
(colores #rrggbb), font_text, font_ui, font_code (familias CSS; la web carga
|
|
9
|
+
las fuentes que no traiga el tema), content_max y figure_max (anchos CSS),
|
|
10
|
+
theme_color (barra del navegador), manifest y favicons (false los omite),
|
|
11
|
+
math (true carga MathJax para las fórmulas LaTeX de pymdownx.arithmatex) y
|
|
12
|
+
header_nav (ver partials/header.html).
|
|
13
|
+
-#}
|
|
14
|
+
{% set tx = config.extra.techsical | d({}, true) %}
|
|
15
|
+
<link rel="stylesheet" href="{{ 'assets/stylesheets/fonts.css' | url }}">
|
|
16
|
+
<link rel="stylesheet" href="{{ 'assets/stylesheets/techsical.css' | url }}">
|
|
17
|
+
{% set _ = namespace(css = "") %}
|
|
18
|
+
{% for key, var in [
|
|
19
|
+
("primary", "--tx-brand-primary"),
|
|
20
|
+
("accent", "--tx-brand-accent"),
|
|
21
|
+
("primary_dark", "--tx-brand-primary-dark"),
|
|
22
|
+
("accent_dark", "--tx-brand-accent-dark"),
|
|
23
|
+
("font_text", "--tx-font-text"),
|
|
24
|
+
("font_ui", "--tx-font-ui"),
|
|
25
|
+
("font_code", "--tx-font-code"),
|
|
26
|
+
("content_max", "--tx-content-max"),
|
|
27
|
+
("figure_max", "--tx-figure-max")
|
|
28
|
+
] %}
|
|
29
|
+
{% if tx[key] %}
|
|
30
|
+
{% set _.css = _.css ~ var ~ ":" ~ tx[key] ~ ";" %}
|
|
31
|
+
{% endif %}
|
|
32
|
+
{% endfor %}
|
|
33
|
+
{% if _.css %}
|
|
34
|
+
<style>:root{{ "{" }}{{ _.css }}{{ "}" }}</style>
|
|
35
|
+
{% endif %}
|
|
36
|
+
{% if tx.favicons != false %}
|
|
37
|
+
<link rel="icon" href="{{ 'assets/favicon/favicon.ico' | url }}" sizes="48x48">
|
|
38
|
+
<link rel="icon" type="image/png" sizes="16x16" href="{{ 'assets/favicon/favicon-16x16.png' | url }}">
|
|
39
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ 'assets/favicon/apple-touch-icon.png' | url }}">
|
|
40
|
+
{% endif %}
|
|
41
|
+
{% if tx.manifest != false %}
|
|
42
|
+
<link rel="manifest" href="{{ 'site.webmanifest' | url }}">
|
|
43
|
+
{% endif %}
|
|
44
|
+
<meta name="theme-color" content="{{ tx.theme_color or tx.primary or '#164e63' }}">
|
|
45
|
+
{% if tx.math %}
|
|
46
|
+
<script src="{{ 'assets/javascripts/math.js' | url }}" defer></script>
|
|
47
|
+
<script src="https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js" defer></script>
|
|
48
|
+
{% endif %}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: techsical
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Tema editorial técnico para Zensical: tipografía serif de lectura, interfaz sans y colores personalizables.
|
|
5
|
+
Keywords: zensical,theme,documentation,mkdocs
|
|
6
|
+
Author: Isidro Rodríguez
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Classifier: Development Status :: 3 - Alpha
|
|
10
|
+
Classifier: Framework :: MkDocs
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Classifier: Topic :: Documentation
|
|
17
|
+
Classifier: Typing :: Typed
|
|
18
|
+
Requires-Dist: zensical>=0.1.2,<0.2
|
|
19
|
+
Requires-Python: >=3.12
|
|
20
|
+
Project-URL: Changelog, https://github.com/isidro-rodriguez/techsical/blob/main/CHANGELOG.md
|
|
21
|
+
Project-URL: Documentation, https://isidro-rodriguez.github.io/techsical/
|
|
22
|
+
Project-URL: Repository, https://github.com/isidro-rodriguez/techsical
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
|
|
25
|
+
# techsical
|
|
26
|
+
|
|
27
|
+
Tema editorial técnico para [Zensical](https://zensical.org/): texto y títulos en
|
|
28
|
+
serif para leer con calma, interfaz, tablas y pies en sans, código en monoespaciada,
|
|
29
|
+
y un tema oscuro propio. Cada web personaliza colores y fuentes en su `zensical.toml`.
|
|
30
|
+
|
|
31
|
+
- Guía y demostración: <https://isidro-rodriguez.github.io/techsical/>
|
|
32
|
+
- Cambios: [CHANGELOG.md](https://github.com/isidro-rodriguez/techsical/blob/main/CHANGELOG.md)
|
|
33
|
+
|
|
34
|
+
## Instalación
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
uv add --dev techsical
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
```toml
|
|
41
|
+
# zensical.toml
|
|
42
|
+
[project.theme]
|
|
43
|
+
name = "techsical"
|
|
44
|
+
|
|
45
|
+
[project.extra.techsical]
|
|
46
|
+
primary = "#164e63" # opcional: color principal
|
|
47
|
+
accent = "#0f766e" # opcional: acento
|
|
48
|
+
header_nav = [ # opcional: enlaces propios de la cabecera
|
|
49
|
+
{ title = "Guía", url = "guia/" },
|
|
50
|
+
]
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Todas las opciones, la portada (`template: home.html`) y los tipos de página están en
|
|
54
|
+
la [guía](https://isidro-rodriguez.github.io/techsical/guia/).
|
|
55
|
+
|
|
56
|
+
## Desarrollo
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
uv sync
|
|
60
|
+
uv run ruff format --check . && uv run ruff check . && uv run ty check && uv run pytest
|
|
61
|
+
uv run zensical serve # web de demostración
|
|
62
|
+
uv run --with playwright python scripts/capturas.py # capturas en capturas/
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Las fuentes (Source Serif 4, Manrope y JetBrains Mono) se distribuyen con la
|
|
66
|
+
[SIL Open Font License 1.1](https://openfontlicense.org/); el código, con licencia MIT.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
techsical/__init__.py,sha256=cGZXNP_TBIFBrL_IKISKKVb70UZOCLcKsBxM_6Y2BOI,878
|
|
2
|
+
techsical/theme/assets/fonts/OFL-JetBrainsMono.txt,sha256=QDWBtp2sXP9AeSBeAca0Z-Vq9EnsvXJHaT3bG6r6AFs,4524
|
|
3
|
+
techsical/theme/assets/fonts/OFL-Manrope.txt,sha256=2CarZYOxLCaAfYcWpUW9u7Zy3wT0hgijZLqe_b5QHDA,4383
|
|
4
|
+
techsical/theme/assets/fonts/OFL-SourceSerif4.txt,sha256=GKq_GQhIcl4ldu77XCm6BqrBAp0CEyJSp_MS6sLlDPM,4314
|
|
5
|
+
techsical/theme/assets/fonts/jetbrains-mono-greek-wght-italic.woff2,sha256=nhwd0IbIqsDNruBNNwcRrQYnUCUPvySbi0uD7eW7g5o,9548
|
|
6
|
+
techsical/theme/assets/fonts/jetbrains-mono-greek-wght-normal.woff2,sha256=7oYxmAd_MJP_qBwHJYHMS9YIoE5gqKnAuEY5bOTxQQk,9004
|
|
7
|
+
techsical/theme/assets/fonts/jetbrains-mono-latin-ext-wght-italic.woff2,sha256=YGUseDgtflAhzkw-2JhfxB2PPRsaO-3OwqRO2Jef5es,16520
|
|
8
|
+
techsical/theme/assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2,sha256=eb_aubpGfibupBIubyVn4YjdigmoxzDVAfxIfEq5nG4,15196
|
|
9
|
+
techsical/theme/assets/fonts/jetbrains-mono-latin-wght-italic.woff2,sha256=qK-ghenKXlNDTi7pGLprZcfdTdpWUJl2s2WRR4yZ1i4,42964
|
|
10
|
+
techsical/theme/assets/fonts/jetbrains-mono-latin-wght-normal.woff2,sha256=GL5FJyS_3CNsB0ypSiSaf0GoZ1LH0EqyWM6e1WUfan4,40404
|
|
11
|
+
techsical/theme/assets/fonts/manrope-greek-wght-normal.woff2,sha256=L7Loy_1SrkYXmotgJOsWLx-cbePSLW46MNjzld5yIL4,9444
|
|
12
|
+
techsical/theme/assets/fonts/manrope-latin-ext-wght-normal.woff2,sha256=ORG2bZ8uAFpLmJIjQF0OUDJhnGaFl7pGfMdqI8j__Ps,15120
|
|
13
|
+
techsical/theme/assets/fonts/manrope-latin-wght-normal.woff2,sha256=ow3c00lwOv90ZMNL7z__3_QF7lDBE0QNfIaTwC0hCXI,24836
|
|
14
|
+
techsical/theme/assets/fonts/source-serif-4-greek-wght-italic.woff2,sha256=-vN4xNMPPGsOD3DfHRmB0pyYR1Ps-c4UnHuy7yfNVrc,20556
|
|
15
|
+
techsical/theme/assets/fonts/source-serif-4-greek-wght-normal.woff2,sha256=VMRyiqD9l9WbibbYmyMAZXlLTAiMVe_nGryc6ILPqFM,20184
|
|
16
|
+
techsical/theme/assets/fonts/source-serif-4-latin-ext-wght-italic.woff2,sha256=FOOMLWpOpu_83d448CYsA68lLL-C28aAN_LWyREvIJc,44420
|
|
17
|
+
techsical/theme/assets/fonts/source-serif-4-latin-ext-wght-normal.woff2,sha256=0QzLvQ3E664pOJWNwfYipTRg_il-nJWFZHQt1oQwnD8,42212
|
|
18
|
+
techsical/theme/assets/fonts/source-serif-4-latin-wght-italic.woff2,sha256=tPVt3JhzSH8cmjrVu84xmC_om5UfV-RgT2K0yKVA-xk,51576
|
|
19
|
+
techsical/theme/assets/fonts/source-serif-4-latin-wght-normal.woff2,sha256=OCR184JCxS1Co-X_jcabXXPxDQ0h5FULX-IymEaId5o,50936
|
|
20
|
+
techsical/theme/assets/javascripts/math.js,sha256=iPPYetVm4PzvOvvi5DGvWD0T6uFt3J5_d0EhHdOzqfU,1030
|
|
21
|
+
techsical/theme/assets/stylesheets/fonts.css,sha256=-vHFwaYUcGCIl_x5r1i8ku1Lcsg8Ua5cRM6u1OQhRu8,5555
|
|
22
|
+
techsical/theme/assets/stylesheets/techsical.css,sha256=3587xHOffCHscz7FBiRGA3DNbqmz3W_i61Z-qRPkvjM,26223
|
|
23
|
+
techsical/theme/home.html,sha256=caBA1JPwI9TaPT98HAui41Z5aFBAktWGZdQ-AqC9hWE,2188
|
|
24
|
+
techsical/theme/mkdocs_theme.yml,sha256=NK9FZjKC4KklG5JylMGlWeWo8hX9ZhDnpDRnTs_T20Y,1171
|
|
25
|
+
techsical/theme/partials/copyright.html,sha256=c5MarTZfXwT_PhCmS-MCyOn-Q60Mv5sUV62DI59Z9Us,765
|
|
26
|
+
techsical/theme/partials/header.html,sha256=ggBnQowpwz2dD6hL4ybV9HgGvx7Wj8DvSEaRkgHd8Ps,4032
|
|
27
|
+
techsical/theme/partials/icons.html,sha256=VhIVtt9ZQgDthM6kSaZn0b52kZw2iWAmEtE9wDVyH_k,1972
|
|
28
|
+
techsical/theme/partials/techsical-head.html,sha256=I5LNW_XXDNnTYOE4NbNJ86DdIPVPXBLyv1r9gmJNv-c,2221
|
|
29
|
+
techsical-0.1.0.dist-info/licenses/LICENSE,sha256=n49eECY6a7GRg0YNBxAdalVGY0xSgGfo11vVzpF748c,1074
|
|
30
|
+
techsical-0.1.0.dist-info/WHEEL,sha256=G_-rrEibZr7OEM7zdH1dSO6s-VdjfnS5PA4CLAdI9Vw,80
|
|
31
|
+
techsical-0.1.0.dist-info/entry_points.txt,sha256=E39F4A7T31CCkYiisJgvjh5NCLPQanjolMrw4N94Xq0,45
|
|
32
|
+
techsical-0.1.0.dist-info/METADATA,sha256=_QThnZDpe7wkUmlcnFMDdnX_fB0zti8I9khVaTXyRAg,2398
|
|
33
|
+
techsical-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Isidro Rodríguez
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|