forked from unicode-org/icu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ICU-20088 User Guide migration: Add navigation structure and TOC for …
…Jekyll, fix formatting issues, etc.
- Loading branch information
Showing
90 changed files
with
1,714 additions
and
717 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,95 @@ | ||
# © 2020 and later: Unicode, Inc. and others. | ||
# License & terms of use: http://www.unicode.org/copyright.html | ||
|
||
title: ICU Documentation | ||
email: [email protected] | ||
description: >- # this means to ignore newlines until "baseurl:" | ||
ICU is a mature, widely used set of C/C++ and Java libraries providing Unicode | ||
and Globalization support for software applications. The ICU User Guide provides | ||
documentation on how to use ICU. | ||
baseurl: "/icu" # the subpath for the site | ||
url: "https://unicode-org.github.io" # the base hostname & protocol for your site | ||
|
||
twitter_username: unicode | ||
github_username: unicode-org | ||
|
||
remote_theme: pmarsceill/just-the-docs | ||
|
||
# GitHub uses it's own markdown renderer. | ||
# We use this in order to try and have the docs pages match ones in the repo. | ||
markdown: CommonMarkGhPages | ||
# GitHub uses its own markdown renderer called CommonMarkGhPages. | ||
# | ||
# To use this we'd need to set the following options: | ||
# markdown: CommonMarkGhPages | ||
# Plugins: | ||
# jekyll-commonmark-ghpages | ||
# | ||
# commonmark: | ||
# options: ["SMART", "FOOTNOTES"] | ||
# extensions: ["strikethrough", "autolink", "table", "tagfilter"] | ||
# | ||
# However, it doesn't work well with Jekyll and the Just-The-Docs theme, | ||
# and causes too many formatting problems. Additionally, it also doesn't | ||
# have any support for auto-generating a Table of Contents (TOC) section | ||
# for a page. Due to these reasons, we instead use the recommended | ||
# markdown renderer for Jekyll, called kramdown. | ||
# | ||
markdown: kramdown | ||
|
||
# Plugins: | ||
# jekyll-commonmark-ghpages -- This is needed in order to use CommonMarkGhPages | ||
# jemoji -- For rendering emoji like :point_right: | ||
# Notes on plugins: | ||
# - GitHub Pages ignores all plugins included in the Gemfile. | ||
# - Only the ones listed in the _config.yml file (this file) are used. | ||
# - There is a very limited set of plugins that GH Pages supports (for security | ||
# reasons). The listing is here: https://pages.github.com/versions | ||
# - The jekyll-sitemap plugin generates a "sitemap.xml" for search engines. | ||
# - We need the "jemoji" plugin for rendering emoji like ":point_right:". | ||
plugins: | ||
- jekyll-commonmark-ghpages | ||
- jekyll-remote-theme | ||
- jekyll-sitemap | ||
- jemoji | ||
|
||
commonmark: | ||
options: ["SMART", "FOOTNOTES"] | ||
extensions: ["strikethrough", "autolink", "table", "tagfilter"] | ||
|
||
title: ICU Documentation | ||
description: ICU Documentation | ||
|
||
baseurl: "/icu" # the subpath for the site | ||
url: "https://jefgen.github.io" # the base hostname & protocol for your site | ||
|
||
search_enabled: true | ||
|
||
# Color scheme currently only supports "dark" or nil (default) | ||
# Color scheme currently only supports "dark" or nil (light). | ||
color_scheme: nil | ||
|
||
# Aux links for the upper right navigation | ||
aux_links: | ||
"API Docs": | ||
- "https://unicode-org.github.io/icu-docs" | ||
"ICU on GitHub": | ||
- "//github.com/jefgen/icu" | ||
- "https://github.com/unicode-org/icu" | ||
"ICU Home Page": | ||
- "http://site.icu-project.org/" | ||
"Unicode Home Page": | ||
- "https://www.unicode.org" | ||
|
||
# Makes Aux links open in a new tab. | ||
aux_links_new_tab: true | ||
|
||
# Back to top link | ||
# Add a "Back to top" link at the bottom of each page. | ||
back_to_top: true | ||
back_to_top_text: "Back to top" | ||
|
||
# Enable heading anchors | ||
heading_anchors: true | ||
|
||
# Footer content | ||
# appears at the bottom of every page's main content | ||
footer_content: "Copyright © 2016 and later Unicode, Inc. and others. All Rights Reserved. <a href=\"http://www.unicode.org/copyright.html\">Terms of use and License</a>." | ||
# Footer content: appears at the bottom of every page after the main content. | ||
footer_content: "© 2016 and later: Unicode, Inc. and others. License & terms of use: <a href=\"http://www.unicode.org/copyright.html\">http://www.unicode.org/copyright.html</a>" | ||
|
||
# TODO: I think this would be better at the top of the page, but I'm not sure how to do that. | ||
# Footer "Edit this page on GitHub" link text | ||
# Footer content: Add a "Edit this page on GitHub" link. | ||
# Note: I think this would be better at the *top* of the page, but it isn't possible to do that by default with just-the-docs. | ||
gh_edit_link: true # show or hide edit this page link | ||
gh_edit_link_text: "Edit this page on GitHub." | ||
gh_edit_repository: "https://github.com/jefgen/icu" # the github URL for your repo | ||
gh_edit_branch: "master" # the branch that your docs is served from | ||
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately | ||
gh_edit_repository: "https://github.com/unicode-org/icu" | ||
# NOTE: Since we serve the docs out of the "docs" folder, we need to include that here even though | ||
# it is technically *not* part of the branch name. | ||
gh_edit_branch: "master/docs" | ||
# Can be "tree" or "edit". Edit takes the user to jump into the editor immediately. | ||
gh_edit_view_mode: "tree" | ||
|
||
# Exclude from processing. | ||
# Excluded items can be processed by explicitly listing the directories or | ||
# their entries' file path in the `include:` list. | ||
exclude: | ||
- Gemfile | ||
- Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// © 2020 and later: Unicode, Inc. and others. | ||
// License & terms of use: http://www.unicode.org/copyright.html | ||
|
||
// Increase the side bar width as some of the page titles don't fit in the default size. | ||
$nav-width: 284px; | ||
|
||
// Increase the main content area width as some tables assume a larger size. | ||
$content-width: 900px; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.