Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions assets/custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
Hugo Book theme custom overrides.
This file is loaded by themes/book/assets/book.scss via @import "custom".
Keep landing icon dimensions constrained so homepage SVG icons do not inherit oversized defaults.
*/

.feature-icon,
.doctype-icon,
.usecase-icon {
width: 2.5rem;
height: 2.5rem;
display: inline-flex;
align-items: center;
justify-content: center;
}

.feature-icon svg,
.doctype-icon svg,
.usecase-icon svg {
width: 1.5rem;
height: 1.5rem;
max-width: 1.5rem;
max-height: 1.5rem;
display: block;
}
4 changes: 2 additions & 2 deletions content.en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ A Frappe/ERPNext extension for **centralized Party Master identity**, role-aware
[{{< badge style="info" title="Version" value="1.0" >}}](https://github.com/Sendipad/uph/releases)
[{{< badge style="default" title="License" value="MIT" >}}](https://github.com/Sendipad/uph/blob/main/LICENSE)

{{< button href="/uph/en/docs/" >}}Read Technical Docs{{< /button >}}
{{< button href="/docs/" >}}Read Technical Docs{{< /button >}}

<section>
<h2>Architecture & Modules</h2>
Expand Down Expand Up @@ -120,7 +120,7 @@ Then configure **Party Master Settings** to map target doctypes and party types.

## API Reference

See [API Reference](/uph/en/docs/api/) for whitelisted/search/report function entry points extracted from current implementation.
See [API Reference]({{< relref "/docs/api/_index.md" >}}) for whitelisted/search/report function entry points extracted from current implementation.

---

Expand Down
10 changes: 5 additions & 5 deletions content.en/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ This documentation is generated from the **current branch implementation**. Beca

## Sections

- [Introduction](/uph/en/docs/introduction/)
- [Architecture](/uph/en/docs/architecture/)
- [Modules](/uph/en/docs/modules/)
- [API Reference](/uph/en/docs/api/)
- [Operations](/uph/en/docs/operations/)
- [Introduction]({{< relref "/docs/introduction/_index.md" >}})
- [Architecture]({{< relref "/docs/architecture/_index.md" >}})
- [Modules]({{< relref "/docs/modules/_index.md" >}})
- [API Reference]({{< relref "/docs/api/_index.md" >}})
- [Operations]({{< relref "/docs/operations/_index.md" >}})
2 changes: 1 addition & 1 deletion content.en/docs/api/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ bookCollapseSection: true
Technical details for all whitelisted API endpoints in the UPH application.


See also: [Verification Status (Current Branch vs Legacy API Docs)](/uph/en/docs/api/verification-status/).
See also: [Verification Status (Current Branch vs Legacy API Docs)]({{< relref "/docs/api/verification-status.md" >}}).
4 changes: 2 additions & 2 deletions layouts/_partials/docs/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<div class="custom-links-wrapper">
<ul class="custom-links">
<li class="static-text">{{ i18n "learnSectionLabel" }}</li>
<li><a href="/uph/{{ .Lang }}/posts/">Learn by Use Cases</a></li>
<li><a href="/uph/{{ .Lang }}/showcases/">Showcases</a></li>
<li><a href="{{ "/posts/" | relLangURL }}">Learn by Use Cases</a></li>
<li><a href="{{ "/showcases/" | relLangURL }}">Showcases</a></li>
<li><a href="https://github.com/Sendipad/uph/" target="_blank">GitHub</a></li>
</ul>
</div>
Expand Down
3 changes: 3 additions & 0 deletions layouts/shortcodes/button.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{{- $href := .Get "href" -}}
{{- if and $href (not ((urls.Parse $href).IsAbs)) (hasPrefix $href "/") -}}
{{- $href = $href | relLangURL -}}
{{- end -}}
{{- $isRemote := (urls.Parse $href).IsAbs -}}
{{- $class := "book-btn" -}}
{{- $target := "" -}}
Expand Down