Skip to content

Commit

Permalink
added ability to use HOME.md as main page
Browse files Browse the repository at this point in the history
also:
- fixed `.dirs` being glommed as source paths
- added floating page table-of-contents
- added additional fix for inline `<code>` blocks
- added `.poxy-toc` to table-of-contents elements
- added config option `scripts`
- added config option `stylesheets`
- added config option `jquery`
- added `custom` theme
- various theme improvements
- removed m.css favicon fallback
- updated cppreference doxygen tagfile
  • Loading branch information
marzer committed May 30, 2021
1 parent 0bcc6fa commit a3f8a9a
Show file tree
Hide file tree
Showing 11 changed files with 429 additions and 73 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## v0.4.1 - 2020-05-30
- Fixed `.dirs` being glommed as source paths
- Added config option `scripts`
- Added config option `stylesheets`
- Added config option `jquery`
- Added `custom` theme
- Added ability to use `HOME.md` as main page
- Added additional fix for inline `<code>` blocks
- Added `.poxy-toc` to table-of-contents elements
- Added floating page table-of-contents
- Removed m.css favicon fallback
- Made improvements to the `light` and `dark` themes
- Updated C++ doxygen tagfile

## v0.4.0 - 2020-05-29
- Added config option `theme`
- Added version number to CSS and javascript filenames to prevent browser cache issues
Expand Down
128 changes: 128 additions & 0 deletions poxy/data/cppreference-doxygen-web.tag.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,10 @@
<class kind="class">std::bad_weak_ptr</class>
<class kind="class">std::basic_common_reference</class>
<class kind="class">std::basic_filebuf</class>
<class kind="class">std::basic_format_arg</class>
<class kind="class">std::basic_format_args</class>
<class kind="class">std::basic_format_context</class>
<class kind="class">std::basic_format_parse_context</class>
<class kind="class">std::basic_fstream</class>
<class kind="class">std::basic_ifstream</class>
<class kind="class">std::basic_ios</class>
Expand Down Expand Up @@ -2123,6 +2127,40 @@
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<member kind="function">
<type>T</type>
<name>format</name>
<anchorfile>cpp/utility/format/format</anchorfile>
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<class kind="class">std::format_args</class>
<class kind="class">std::format_args_t</class>
<class kind="class">std::format_context</class>
<class kind="class">std::format_error</class>
<class kind="class">std::format_parse_context</class>
<member kind="function">
<type>T</type>
<name>format_to</name>
<anchorfile>cpp/utility/format/format_to</anchorfile>
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<member kind="function">
<type>T</type>
<name>format_to_n</name>
<anchorfile>cpp/utility/format/format_to_n</anchorfile>
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<member kind="function">
<type>T</type>
<name>formatted_size</name>
<anchorfile>cpp/utility/format/formatted_size</anchorfile>
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<class kind="class">std::formatter</class>
<member kind="function">
<type>T</type>
<name>forward</name>
Expand Down Expand Up @@ -3909,6 +3947,13 @@
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<member kind="function">
<type>T</type>
<name>make_format_args</name>
<anchorfile>cpp/utility/format/make_format_args</anchorfile>
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<member kind="function">
<type>T</type>
<name>make_from_tuple</name>
Expand Down Expand Up @@ -3985,6 +4030,13 @@
</member>
<class kind="class">std::make_unsigned</class>
<class kind="class">std::make_unsigned_t</class>
<member kind="function">
<type>T</type>
<name>make_wformat_args</name>
<anchorfile>cpp/utility/format/make_format_args</anchorfile>
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<member kind="function">
<type>T</type>
<name>malloc</name>
Expand Down Expand Up @@ -6153,6 +6205,20 @@
<arglist></arglist>
</member>
<class kind="class">std::vector</class>
<member kind="function">
<type>T</type>
<name>vformat</name>
<anchorfile>cpp/utility/format/vformat</anchorfile>
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<member kind="function">
<type>T</type>
<name>vformat_to</name>
<anchorfile>cpp/utility/format/vformat_to</anchorfile>
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<member kind="function">
<type>T</type>
<name>vfprintf</name>
Expand Down Expand Up @@ -6188,6 +6254,13 @@
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<member kind="function">
<type>T</type>
<name>visit_format_arg</name>
<anchorfile>cpp/utility/format/visit_format_arg</anchorfile>
<anchor></anchor>
<arglist>(T... args)</arglist>
</member>
<class kind="class">std::void_t</class>
<member kind="function">
<type>T</type>
Expand Down Expand Up @@ -6511,6 +6584,9 @@
<class kind="class">std::weak_ptr</class>
<class kind="class">std::weibull_distribution</class>
<class kind="class">std::wfilebuf</class>
<class kind="class">std::wformat_args</class>
<class kind="class">std::wformat_context</class>
<class kind="class">std::wformat_parse_context</class>
<class kind="class">std::wfstream</class>
<class kind="class">std::wifstream</class>
<class kind="class">std::wiostream</class>
Expand Down Expand Up @@ -15148,6 +15224,22 @@
<arglist>(T... args)</arglist>
</member>
</compound>
<compound kind="class">
<name>std::basic_format_arg</name>
<filename>cpp/utility/format/basic_format_arg</filename>
</compound>
<compound kind="class">
<name>std::basic_format_args</name>
<filename>cpp/utility/format/basic_format_args</filename>
</compound>
<compound kind="class">
<name>std::basic_format_context</name>
<filename>cpp/utility/format/basic_format_context</filename>
</compound>
<compound kind="class">
<name>std::basic_format_parse_context</name>
<filename>cpp/utility/format/basic_format_parse_context</filename>
</compound>
<compound kind="class">
<name>std::basic_fstream</name>
<filename>cpp/io/basic_fstream</filename>
Expand Down Expand Up @@ -29382,6 +29474,30 @@
<arglist>(T... args)</arglist>
</member>
</compound>
<compound kind="class">
<name>std::format_args</name>
<filename>cpp/utility/format/basic_format_args</filename>
</compound>
<compound kind="class">
<name>std::format_args_t</name>
<filename>cpp/utility/format/basic_format_args</filename>
</compound>
<compound kind="class">
<name>std::format_context</name>
<filename>cpp/utility/format/basic_format_context</filename>
</compound>
<compound kind="class">
<name>std::format_error</name>
<filename>cpp/utility/format/format_error</filename>
</compound>
<compound kind="class">
<name>std::format_parse_context</name>
<filename>cpp/utility/format/basic_format_parse_context</filename>
</compound>
<compound kind="class">
<name>std::formatter</name>
<filename>cpp/utility/format/formatter</filename>
</compound>
<compound kind="class">
<name>std::forward_iterator_tag</name>
<filename>cpp/iterator/iterator_tags</filename>
Expand Down Expand Up @@ -54518,6 +54634,18 @@
<arglist>(T... args)</arglist>
</member>
</compound>
<compound kind="class">
<name>std::wformat_args</name>
<filename>cpp/utility/format/basic_format_args</filename>
</compound>
<compound kind="class">
<name>std::wformat_context</name>
<filename>cpp/utility/format/basic_format_context</filename>
</compound>
<compound kind="class">
<name>std::wformat_parse_context</name>
<filename>cpp/utility/format/basic_format_parse_context</filename>
</compound>
<compound kind="class">
<name>std::wfstream</name>
<filename>cpp/io/basic_fstream</filename>
Expand Down
Empty file.
25 changes: 25 additions & 0 deletions poxy/data/poxy-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,31 @@ ul.m-doc > li.m-doc-collapsible li
opacity: 0.85;
}

/* lists */
.m-block li,
.m-note li,
section > ul li,
section > ol li
{
margin-bottom: 0.2rem;
}
.m-block li:last-child,
.m-note li:last-child,
section > ul li:last-child,
section > ol li:last-child
{
margin-bottom: initial;
}

/* nested lists */
.m-block li > ul > li:first-child,
.m-note li > ul > li:first-child,
.m-block li > ol > li:first-child,
.m-note li > ol > li:first-child
{
margin-top: 0.2rem;
}

/* ====================================================
code blocks
==================================================== */
Expand Down
92 changes: 92 additions & 0 deletions poxy/data/poxy-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,98 @@ ul.m-doc li > span.m-doc a
opacity: 0.75;
}

/* page header */
body > header
{
-webkit-box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.25);
box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.25);
}
body > header > nav
{
background-color: #ea7944;
}
body > header > nav a:hover,
body > header > nav #m-navbar-collapse a#m-navbar-current:hover
{
color: #444444 !important;
}
body > header > nav #m-navbar-collapse a
{

}
body > header > nav #m-navbar-collapse a#m-navbar-current
{
color: #ffffff !important;
border-color: #ffffff !important;
}
body > header > nav #m-navbar-collapse a:hover
{

}

/* page footer */
body > footer > nav
{
color: #F3F3F3;
background-color: #161616;
}
body > footer > nav a
{
color: #ea7944;
}
body > footer > nav a:hover
{
color: #e99168;
}

/* search overlay box */
.m-doc-search-content
{
background-color: #fdfdfd;
border: 1px solid #cccccc;
}

/* search overlay help text */
.m-doc-search-content #search-help
{
color: #666;
}
.m-doc-search-content #search-help .m-label.m-dim
{
background-color: #666;
}

/* search overlay background flood-fill */
.m-doc-search
{
background-color: rgba(225, 225, 225, 0.85);
}

/* lists */
.m-block li,
.m-note li,
section > ul li,
section > ol li
{
margin-bottom: 0.4rem;
}
.m-block li:last-child,
.m-note li:last-child,
section > ul li:last-child,
section > ol li:last-child
{
margin-bottom: initial;
}

/* nested lists */
.m-block li > ul > li:first-child,
.m-note li > ul > li:first-child,
.m-block li > ol > li:first-child,
.m-note li > ol > li:first-child
{
margin-top: 0.4rem;
}

/* ====================================================
code blocks
==================================================== */
Expand Down
Loading

0 comments on commit a3f8a9a

Please sign in to comment.