forked from mfulz_github/qmk_firmware
Add basic CSS styling to the Atmel Studio integrated help.
This commit is contained in:
parent
344cd1a2e8
commit
cc44591b58
|
@ -0,0 +1,45 @@
|
|||
.programlisting {
|
||||
display: block;
|
||||
margin-left: 15px;
|
||||
padding: 10px;
|
||||
background-color: #f0f0f0;
|
||||
border: 1px solid #aaaaaa;
|
||||
font-family: "Consolas", "Courier New", sans-serif;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #f0f0f0;
|
||||
font-family: "Consolas", "Courier New", sans-serif;
|
||||
}
|
||||
|
||||
.note {
|
||||
display: block;
|
||||
margin-left: 15px;
|
||||
padding-left: 10px;
|
||||
padding-bottom: 5px;
|
||||
background-color: #f0f0f0;
|
||||
border: 1px solid #aaaaaa;
|
||||
}
|
||||
|
||||
table {
|
||||
border: 1px solid #aaaaaa;
|
||||
border-collapse: collapse;
|
||||
margin-left: 15px;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
table thead * {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
table thead th {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
table th, td {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 20px;
|
||||
}
|
|
@ -39,13 +39,14 @@ VSIX_ASSETS := $(LUFA_ROOT)/DoxygenPages/Images/LUFA_thumb.png \
|
|||
VSIX/GettingStarted.htm \
|
||||
Blob/Atmel.Studio.Services.Interfaces.dll \
|
||||
Blob/LUFA.dll \
|
||||
Blob/LUFA.pkgdef
|
||||
Blob/LUFA.pkgdef \
|
||||
|
||||
MSHELP_GEN_PARAMS := --stringparam generate.toc "book toc" \
|
||||
--stringparam chunk.quietly "1" \
|
||||
--stringparam chunk.section.depth "3" \
|
||||
--stringparam chunk.first.sections "1" \
|
||||
--stringparam chapter.autolabel "0"
|
||||
--stringparam chapter.autolabel "0" \
|
||||
--stringparam html.stylesheet "lufa_studio_help_styling.css"
|
||||
|
||||
all: generate_xml check_filenames generate_vsix
|
||||
|
||||
|
@ -88,11 +89,12 @@ $(MSHELP_OUTPUT_XML): $(DOXYGEN_COMBINED_XML)
|
|||
@cd mshelp && xsltproc $(MSHELP_GEN_PARAMS) ../Docbook/mshelp/docbook.xsl lufa_docbook.xml
|
||||
|
||||
@echo Copying help assets...
|
||||
@cp HV1/lufa_studio_help_styling.css mshelp
|
||||
@-mkdir mshelp/images 2> /dev/null
|
||||
@cp `find $(LUFA_ROOT)/DoxygenPages/Images -type f` mshelp/images
|
||||
|
||||
@echo Archiving help content...
|
||||
@cd mshelp && zip ../$(MSHELP_OUTPUT_XML) -q -0 -r *.html images
|
||||
@cd mshelp && zip ../$(MSHELP_OUTPUT_XML) -q -0 -r *.html *.css images
|
||||
|
||||
|
||||
generate_xml: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML)
|
||||
|
|
Loading…
Reference in New Issue