-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc1ab34
commit 8e7910c
Showing
8 changed files
with
132 additions
and
172 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<title>$ALTDOC_PACKAGE_NAME</title> | ||
<link rel="stylesheet" href="https://unpkg.com/docute@4/dist/docute.css"> | ||
<!-- Reduce space between sections and subsections --> | ||
<style> | ||
.page-content h2 { | ||
margin-top: 2em; | ||
} | ||
.page-content.has-page-title>h2:first-child { | ||
margin-top: 2em; | ||
} | ||
.page-content h3 { | ||
margin-top: 2em; | ||
} | ||
.page-content.has-page-title>h3:first-child { | ||
margin-top: 2em; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="docute"></div> | ||
<script src="https://unpkg.com/docute@4/dist/docute.js"></script> | ||
<script> | ||
new Docute({ | ||
target: '#docute', | ||
title: '$ALTDOC_PACKAGE_NAME', | ||
highlight: ['r'], | ||
darkThemeToggler: true, | ||
nav: [ | ||
{title: 'Home', link: '/' }, | ||
{title: 'GitHub', link: '$ALTDOC_PACKAGE_URL_GITHUB' }, | ||
], | ||
sidebar: [ | ||
{title: 'Home', link: '/'}, | ||
{title: 'Changelog', link: '$ALTDOC_NEWS'}, | ||
$ALTDOC_VIGNETTE_BLOCK | ||
$ALTDOC_MAN_BLOCK | ||
{title: 'Code of Conduct', link: '$ALTDOC_CODE_OF_CONDUCT'}, | ||
{title: 'License', link: '$ALTDOC_LICENSE'} | ||
], | ||
footer: "<a href='$ALTDOC_PACKAGE_URL'> <code> $ALTDOC_PACKAGE_NAME </code> v. $ALTDOC_PACKAGE_VERSION </a> | Documentation made with <a href='https://altdoc.etiennebacher.com/'> <code> altdoc </code> v. $ALTDOC_VERSION</a>" | ||
}) | ||
</script> | ||
</body> | ||
</html> |
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 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,69 @@ | ||
<!-- index.html --> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<meta charset="UTF-8"> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/themes/vue.css" /> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script> | ||
window.$docsify = { | ||
name: 'countrycode', | ||
loadSidebar: true, | ||
subMaxLevel: 2, | ||
search: { | ||
placeholder: 'Search', | ||
depth: 3, | ||
}, | ||
sidebarDisplayLevel: 4, | ||
auto2top: true, | ||
copyCode: { | ||
buttonText : 'Copy', | ||
errorText : 'Error', | ||
successText: 'Copied' | ||
}, | ||
plugins: [ | ||
function(hook) { | ||
var footer = ["<a href='https://vincentarelbundock.github.io/countrycode/'> <code> countrycode </code> v. 1.5.0.9000 </a> | Documentation made with <a href='https://altdoc.etiennebacher.com/'> <code> altdoc </code> v. 0.2.2.9004</a>"].join(''); | ||
|
||
hook.afterEach(function(html) { | ||
return html + footer; | ||
}); | ||
} | ||
] | ||
} | ||
</script> | ||
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script> | ||
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script> | ||
<script src="//cdn.jsdelivr.net/npm/[email protected]/components/prism-r.js"></script> | ||
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script> | ||
</body> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<title>countrycode</title> | ||
<link rel="stylesheet" href="https://unpkg.com/docute@4/dist/docute.css"> | ||
<!-- Reduce space between sections and subsections --> | ||
<style> | ||
.page-content h2 { | ||
margin-top: 2em; | ||
} | ||
.page-content.has-page-title>h2:first-child { | ||
margin-top: 2em; | ||
} | ||
.page-content h3 { | ||
margin-top: 2em; | ||
} | ||
.page-content.has-page-title>h3:first-child { | ||
margin-top: 2em; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="docute"></div> | ||
<script src="https://unpkg.com/docute@4/dist/docute.js"></script> | ||
<script> | ||
new Docute({ | ||
target: '#docute', | ||
title: 'countrycode', | ||
highlight: ['r'], | ||
darkThemeToggler: true, | ||
nav: [ | ||
{title: 'Home', link: '/' }, | ||
], | ||
sidebar: [ | ||
{title: 'Home', link: '/'}, | ||
{title: 'Changelog', link: '/NEWS'}, | ||
{ | ||
title: 'Articles', | ||
children: | ||
[ | ||
{title: 'Contributions', link: '/articles/contributions.md'}, | ||
{title: 'Country codes', link: '/articles/countrycode.md'}, | ||
{title: 'Country names', link: '/articles/countryname.md'}, | ||
{title: 'Custom conversion functions', link: '/articles/custom.md'}, | ||
] | ||
}, | ||
{ | ||
title: 'Reference', | ||
children: | ||
[ | ||
{title: 'cldr_examples', link: '/man/cldr_examples.md'}, | ||
{title: 'codelist_panel', link: '/man/codelist_panel.md'}, | ||
{title: 'codelist', link: '/man/codelist.md'}, | ||
{title: 'countrycode-package', link: '/man/countrycode-package.md'}, | ||
{title: 'countrycode', link: '/man/countrycode.md'}, | ||
{title: 'countryname_dict', link: '/man/countryname_dict.md'}, | ||
{title: 'countryname', link: '/man/countryname.md'}, | ||
{title: 'get_dictionary', link: '/man/get_dictionary.md'}, | ||
{title: 'guess_field', link: '/man/guess_field.md'}, | ||
] | ||
}, | ||
], | ||
footer: "<a href='https://vincentarelbundock.github.io/countrycode/'> <code> countrycode </code> v. 1.5.0.9001 </a> | Documentation made with <a href='https://altdoc.etiennebacher.com/'> <code> altdoc </code> v. 0.2.2.9004</a>" | ||
}) | ||
</script> | ||
</body> | ||
</html> |