-
Notifications
You must be signed in to change notification settings - Fork 1k
Use litedown instead of pkgdown #7534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ben-schwen
wants to merge
19
commits into
master
Choose a base branch
from
litedown_pkgdown
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+363
−99
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
0a56fa0
first try litedown instead of pkgdown
ben-schwen a0ec04d
update CI
ben-schwen ca58eec
remove copies
ben-schwen 3c6ee9b
remove switch
ben-schwen 531d150
center footer
ben-schwen 49b5f0a
update .Rbuildignore
ben-schwen 7857bcb
change CI order
ben-schwen 693f914
remove styles
ben-schwen c9f0c28
update manual
ben-schwen a9abe51
remove toc sidebar
ben-schwen 37e89a3
supress warning
ben-schwen 4e3c569
fix title aligned
ben-schwen a1bd143
update NEWS
ben-schwen 72d2b97
Add <link> tags for favicon
aitap abac2b0
Enable TOC in the news
aitap 4fdb958
`litedown` website: better HTML, cross-references (#7601)
aitap 5332988
adjust CI to test also integration stage
ben-schwen 6d569e6
fix setup
ben-schwen 70e6afa
add install to integration
ben-schwen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,19 @@ | ||
| --- | ||
| site: | ||
| rebuild: "always" | ||
| pattern: "[.]Rmd$" | ||
|
|
||
| output: | ||
| html: | ||
| meta: | ||
| css2: ["https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css", "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css", "assets/style.css"] | ||
| js2: ["https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"] | ||
| title: "data.table" | ||
| lang: "en" | ||
| footer: "" | ||
| include_before: "_navbar.html" | ||
| include_after: '<footer style="text-align: center; margin-top: 4rem; padding: 2rem 0; border-top: 1px solid #dee2e6;"><p>Developed by Tyson Barrett, Matt Dowle, Arun Srinivasan, Jan Gorecki, Michael Chirico, Toby Hocking, Benjamin Schwendinger and Ivan Krylov</p><p>Site built with <a href="https://yihui.org/litedown/">litedown</a></p></footer>' | ||
| header_includes: '<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon/favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="assets/favicon/favicon-32x32.png"><link rel="apple-touch-icon" sizes="60x60" href="assets/favicon/apple-touch-icon-60x60.png"><link rel="apple-touch-icon" sizes="76x76" href="assets/favicon/apple-touch-icon-76x76.png"><link rel="apple-touch-icon" sizes="120x120" href="assets/favicon/apple-touch-icon-120x120.png"><link rel="apple-touch-icon" sizes="152x152" href="assets/favicon/apple-touch-icon-152x152.png"><link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-touch-icon-180x180.png"><link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-touch-icon.png"><link rel="icon" sizes="any" href="assets/favicon/favicon.ico">' | ||
| options: | ||
| toc: false | ||
| --- |
This file contains hidden or 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,44 @@ | ||
| <nav class="navbar navbar-expand-lg navbar-light bg-light border-bottom sticky-top" aria-label="Site navigation"> | ||
| <div class="container-fluid px-3 px-lg-4"> | ||
| <a class="navbar-brand me-2" href="index.html">data.table</a> | ||
| <small class="nav-text text-muted me-auto">1.18.99</small> | ||
| <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation"> | ||
| <span class="navbar-toggler-icon"></span> | ||
| </button> | ||
| <div class="collapse navbar-collapse" id="navbar"> | ||
| <ul class="navbar-nav me-auto mb-2 mb-lg-0"> | ||
| <li class="nav-item dropdown"> | ||
| <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Vignettes</a> | ||
| <ul class="dropdown-menu"> | ||
| <li><a class="dropdown-item" href="articles/datatable-intro.html">Introduction to data.table</a></li> | ||
| <li><a class="dropdown-item" href="articles/datatable-reference-semantics.html">Reference semantics</a></li> | ||
| <li><a class="dropdown-item" href="articles/datatable-sd-usage.html">Using .SD for Data Analysis</a></li> | ||
| <li><a class="dropdown-item" href="articles/datatable-keys-fast-subset.html">Keys and fast binary search based subset</a></li> | ||
| <li><a class="dropdown-item" href="articles/datatable-joins.html">Joins in data.table</a></li> | ||
| <li><a class="dropdown-item" href="articles/datatable-secondary-indices-and-auto-indexing.html">Secondary indices and auto indexing</a></li> | ||
| <li><a class="dropdown-item" href="articles/datatable-reshape.html">Efficient reshaping using data.table</a></li> | ||
| <li><a class="dropdown-item" href="articles/datatable-programming.html">Programming on data.table</a></li> | ||
| <li><a class="dropdown-item" href="articles/datatable-faq.html">Frequently asked questions</a></li> | ||
| <li><a class="dropdown-item" href="articles/datatable-importing.html">Importing data.table</a></li> | ||
| <li><a class="dropdown-item" href="articles/datatable-benchmarking.html">Benchmarking data.table</a></li> | ||
| </ul> | ||
| </li> | ||
| <li class="nav-item"><a class="nav-link" href="news.html">News</a></li> | ||
| <li class="nav-item"><a class="nav-link" href="https://duckdblabs.github.io/db-benchmark/">Benchmarks</a></li> | ||
| <li class="nav-item"><a class="nav-link" href="https://github.com/Rdatatable/data.table/wiki/Presentations">Presentations</a></li> | ||
| <li class="nav-item"><a class="nav-link" href="https://github.com/Rdatatable/data.table/wiki/Articles">Articles</a></li> | ||
| <li class="nav-item"><a class="nav-link" href="manual.html">Manual</a></li> | ||
| <li class="nav-item dropdown"> | ||
| <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Cheatsheet</a> | ||
| <ul class="dropdown-menu"> | ||
| <li><a class="dropdown-item" href="assets/datatable_cheatsheet.pdf">English</a></li> | ||
| <li><a class="dropdown-item" href="assets/datatable_cheatsheet_fr.pdf">Francais</a></li> | ||
| </ul> | ||
| </li> | ||
| </ul> | ||
| <ul class="navbar-nav ms-auto"> | ||
| <li class="nav-item"><a class="nav-link" href="https://github.com/Rdatatable/data.table">GitHub</a></li> | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| </nav> |
File renamed without changes.
File renamed without changes.
This file contains hidden or 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,70 @@ | ||
| /* data.table website styles */ | ||
|
|
||
| body { | ||
| font-family: "Helvetica Neue", Arial, sans-serif; | ||
| line-height: 1.6; | ||
| color: #212529; | ||
| margin: 0 !important; | ||
| padding: 0 !important; | ||
| max-width: none !important; | ||
| } | ||
|
|
||
| /* Layout */ | ||
| .frontmatter, | ||
| .body { | ||
| max-width: 1320px !important; | ||
| width: 100% !important; | ||
| margin: 0 auto !important; | ||
| padding: 0 clamp(1.5rem, 3vw, 4rem) !important; | ||
| } | ||
|
|
||
| .frontmatter { | ||
| padding-top: 1.5rem; | ||
| } | ||
|
|
||
| .frontmatter .title, | ||
| .frontmatter .title h1 { | ||
| text-align: left; | ||
| } | ||
|
|
||
| .external-link::after { | ||
| content: "ext"; | ||
| font-size: 0.75rem; | ||
| margin-left: 0.25rem; | ||
| } | ||
|
|
||
| /* Code blocks */ | ||
| pre { | ||
| background-color: #f8f9fa; | ||
| border: 1px solid #dee2e6; | ||
| border-radius: 4px; | ||
| padding: 1rem; | ||
| overflow-x: auto; | ||
| } | ||
|
|
||
| code { | ||
| background-color: #f8f9fa; | ||
| padding: 0.2rem 0.35rem; | ||
| border-radius: 3px; | ||
| font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; | ||
| font-size: 0.875em; | ||
| } | ||
|
|
||
| pre code { | ||
| background-color: transparent; | ||
| padding: 0; | ||
| } | ||
|
|
||
| @media (min-width: 1400px) { | ||
| .frontmatter, | ||
| .body { | ||
| padding: 0 3rem; | ||
| } | ||
| } | ||
|
|
||
| @media (min-width: 1800px) { | ||
| .frontmatter, | ||
| .body { | ||
| padding: 0 5rem; | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I download and unpack the artifacts from GitLab CI, the links from the navbar to the vignettes seem to point to files that don't exist, and there's a broken symlink
articles/doc→library/data.table/doc.Looks like the intent is to make
articlesitself a symlink tolibrary/data.table/doc, so:I'm afraid that now we also need some manual scripts to render the translated vignettes.