Skip to content

Commit 9265ee8

Browse files
committed
docs: fix README badge links and header layout
1 parent 74056fb commit 9265ee8

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

README.adoc

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,13 @@ ifndef::env-github[:icons: font]
1010
:url-demo: https://antora-supplemental.github.io/antora-dark-mode
1111
endif::[]
1212

13-
ifndef::env-github[]
13+
[[readme-top]]
1414
image:https://img.shields.io/github/contributors/antora-supplemental/antora-dark-mode.svg?style=for-the-badge[Contributors,link=https://github.com/antora-supplemental/antora-dark-mode/graphs/contributors]
1515
image:https://img.shields.io/github/forks/antora-supplemental/antora-dark-mode.svg?style=for-the-badge[Forks,link=https://github.com/antora-supplemental/antora-dark-mode/network/members]
1616
image:https://img.shields.io/github/stars/antora-supplemental/antora-dark-mode.svg?style=for-the-badge[Stars,link=https://github.com/antora-supplemental/antora-dark-mode/stargazers]
1717
image:https://img.shields.io/github/issues/antora-supplemental/antora-dark-mode.svg?style=for-the-badge[Issues,link=https://github.com/antora-supplemental/antora-dark-mode/issues]
1818
image:https://img.shields.io/github/license/antora-supplemental/antora-dark-mode.svg?style=for-the-badge[License,link=https://github.com/antora-supplemental/antora-dark-mode/blob/main/LICENSE]
1919
image:https://github.com/antora-supplemental/antora-dark-mode/actions/workflows/deploy.yml/badge.svg[Build Status,link=https://github.com/antora-supplemental/antora-dark-mode/actions/workflows/deploy.yml]
20-
endif::[]
21-
22-
ifdef::env-github[]
23-
image:https://img.shields.io/github/contributors/antora-supplemental/antora-dark-mode.svg?style=for-the-badge[Contributors]
24-
image:https://img.shields.io/github/forks/antora-supplemental/antora-dark-mode.svg?style=for-the-badge[Forks]
25-
image:https://img.shields.io/github/stars/antora-supplemental/antora-dark-mode.svg?style=for-the-badge[Stars]
26-
image:https://img.shields.io/github/issues/antora-supplemental/antora-dark-mode.svg?style=for-the-badge[Issues]
27-
image:https://img.shields.io/github/license/antora-supplemental/antora-dark-mode.svg?style=for-the-badge[License]
28-
image:https://github.com/antora-supplemental/antora-dark-mode/actions/workflows/deploy.yml/badge.svg[Build Status]
29-
endif::[]
3020

3121
= Antora Dark Mode
3222

@@ -49,6 +39,8 @@ Discover this extension via link:https://antora-supplemental.github.io/docs/[Ant
4939

5040
toc::[]
5141

42+
link:#readme-top[back to top]
43+
5244
== Features
5345

5446
* **Dark mode toggle** - A sun/moon icon button in the navbar that switches between light and dark themes
@@ -59,6 +51,8 @@ toc::[]
5951
* **Comprehensive styling** - Covers navbar, navigation panels, content area, code blocks, tables, admonition blocks, footer, and more
6052
* **Version pinning strategies** — exact semver pin (recommended for production), `releases/latest`, rolling line aliases (`v1.0`, `v1.1`, `v1`), `supported-lines.json`, and Renovate regex example; see the xref:version-pinning.adoc[Version Pinning guide] in the docs module.
6153

54+
link:#readme-top[back to top]
55+
6256
== Help Get Dark Mode into Antora
6357

6458
We've submitted this theme for inclusion in the official Antora Default UI.
@@ -418,22 +412,26 @@ Please feel free to submit issues and pull requests.
418412
. Push to the branch: `git push origin feature/my-feature`
419413
. Open a pull request
420414

415+
link:#readme-top[back to top]
416+
421417
== License
422418

423419
This project is licensed under the MIT License.
424420
See the link:LICENSE[LICENSE] file for details.
425421

422+
link:#readme-top[back to top]
423+
426424
== Contact
427425

428426
Antora Supplemental — support@antora-supplemental.org
429427

430428
* Project: https://github.com/antora-supplemental/antora-dark-mode
431429
* Site: https://antora-supplemental.org
432430

431+
link:#readme-top[back to top]
432+
433433
== Acknowledgments
434434

435435
* The {url-antora}[Antora] team for creating an excellent documentation site generator
436436
* The {url-antora-ui}[Antora Default UI] which this theme extends
437437
* https://fossil-scm.org[Fossil SCM] — acknowledged as a solid alternative to Git for version control; see the docs for a short discourse and plans for Dev-Centr support
438-
439-

0 commit comments

Comments
 (0)