Skip to content

Commit 7dd6476

Browse files
dbkinderjren1
authored andcommitted
doc: GSG formating fix, RTD theme tweak
Fix some formatting problems with a recent GSG update. Tweak the custom CSS to adjust code block (and code literal) colors. Update Makefile to document doc build options for pulling source from the other repos and for publishing targets. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
1 parent c3b1d0c commit 7dd6476

File tree

4 files changed

+34
-15
lines changed

4 files changed

+34
-15
lines changed

doc/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ PUBLISHDIR = ../projectacrn.github.io/$(RELEASE)
2121
# Put it first so that "make" without argument is like "make help".
2222
help:
2323
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
24+
@echo ""
25+
@echo "make pullsource"
26+
@echo " fetch and merge upstream source for the project ACRN code repos"
27+
@echo ""
28+
@echo "make publish"
29+
@echo " publish generated html to projectacrn.github.io site:"
30+
@echo " specify RELEASE=name to publish as a tagged release version"
31+
@echo " and placed in a version subfolder"
2432

2533
.PHONY: help Makefile
2634

doc/getting_started/index.rst

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ partition. Follow these steps:
113113
kernel-org.clearlinux.pk414-standard.4.14.34-28
114114
loaderx64.efi
115115
116-
.. note::
117-
The Clear Linux project releases updates often, sometimes
118-
twice a day, so make note of the specific kernel versions (``*-sos``
119-
and ``*-standard``) listed on your system,
120-
as you will need them later.
116+
.. note::
117+
The Clear Linux project releases updates often, sometimes
118+
twice a day, so make note of the specific kernel versions (``*-sos``
119+
and ``*-standard``) listed on your system,
120+
as you will need them later.
121121

122122
#. Put the ``acrn.efi`` hypervisor application (included in the Clear
123123
Linux release) on the EFI partition with:
@@ -140,13 +140,14 @@ partition. Follow these steps:
140140
# cd /mnt/EFI/org.clearlinux/
141141
# cp bootloaderx64.efi bootloaderx64_origin.efi
142142
143-
.. note::
144-
Be aware that a Clearlinux update that includes a kernel upgrade will
145-
reset this. A Clearlinux update could happen automatically (if you have
146-
not disabled it as described above), if you later install a new
147-
bundle to your system or simply if you decide to trigger an update
148-
manually. Whenever that happens, double-check the platform boot order
149-
using ``efibootmgr -v`` and modify it if needed.
143+
.. note::
144+
Be aware that a Clearlinux update that includes a kernel upgrade will
145+
reset the boot option changes you just made.. A Clearlinux update could
146+
happen automatically (if you have
147+
not disabled it as described above), if you later install a new
148+
bundle to your system, or simply if you decide to trigger an update
149+
manually. Whenever that happens, double-check the platform boot order
150+
using ``efibootmgr -v`` and modify it if needed.
150151

151152
#. Create a boot entry for the ACRN Service OS by copying a provided ``acrn.conf``
152153
and editing it to account for the kernel versions noted in a previous step.
@@ -196,6 +197,7 @@ partition. Follow these steps:
196197

197198
.. figure:: images/gsg-bootmenu.png
198199
:align: center
200+
:width: 650px
199201
:name: gsg-bootmenu
200202

201203
ACRN Service OS Boot menu

doc/scripts/publish-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<meta name="keywords" content="automatic redirection">
66
</head>
77
<body>
8-
Please visit the <a href="/latest/">latest ARCN documentation</a>
8+
Please visit the <a href="/latest/">latest ACRN documentation</a>
99
</body>
1010
</html>

doc/static/acrn-custom.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
}
1515
*/
1616

17-
/* tweak doc version selection */
17+
/* tweak doc version selection
1818
.rst-versions {
1919
position: static;
2020
border-top: none;
2121
padding: 0px;
22-
}
22+
} */
2323

2424
.rst-versions .rst-current-version {
2525
padding: 5px;
@@ -35,6 +35,15 @@ div.rst-other-versions dl {
3535
margin-bottom: 0;
3636
}
3737

38+
/* code block highlight color in rtd changed to lime green, no no no */
39+
40+
.rst-content tt.literal, .rst-content code.literal, .highlight {
41+
background: #f0f0f0;
42+
}
43+
.rst-content tt.literal, .rst-content code.literal {
44+
color: #000000;
45+
}
46+
3847
/* Make the version number more visible */
3948
.wy-side-nav-search>div.version {
4049
color: rgba(255,255,255,1);

0 commit comments

Comments
 (0)