-
Notifications
You must be signed in to change notification settings - Fork 19
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
Showing
20 changed files
with
1,120 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
layout: page | ||
title: Philosophy | ||
permalink: /philosophy/ | ||
--- | ||
|
||
Jekyll offers a unique philosophy when approaching the problem of static | ||
site generation. This core philosophy drives development and product | ||
decisions. When a contributor, maintainer, or user asks herself what Jekyll | ||
is about, the following principles should come to mind: | ||
|
||
### 1. No Magic | ||
|
||
Jekyll is not magic. A user should be able to understand the underlying | ||
processes that make up the Jekyll build without much reading. It should | ||
do only what you ask it to and nothing more. When a user takes a certain | ||
action, the outcome should be easily understandable and focused. | ||
|
||
### 2. It "Just Works" | ||
|
||
The out-of-the-box experience should be that it "just works." Run | ||
`gem install jekyll` and it should build any Jekyll site that it's given. | ||
Features like auto-regeneration and settings like the markdown renderer | ||
should represent sane defaults that work perfectly for the vast majority of | ||
cases. The burden of initial configuration should not be placed on the user. | ||
|
||
### 3. Content is King | ||
|
||
Why is Jekyll so loved by content creators? It focuses on content first and | ||
foremost, making the process of publishing content on the Web easy. Users | ||
should find the management of their content enjoyable and simple. | ||
|
||
### 4. Stability | ||
|
||
If a user's site builds today, it should build tomorrow. | ||
Backwards-compatibility should be strongly preferred over breaking changes. | ||
Breaking changes should be made to support a strong practical goal, and | ||
breaking changes should never be made to drive forward "purity" of the | ||
codebase, or other changes purely to make the maintainers' lives easier. | ||
Breaking changes provide a significant amount of friction between upgrades | ||
and reduce the confidence of users in this software, and should thus be | ||
avoided unless absolutely necessary. | ||
Upon breaking changes, provide a clear path for users to upgrade. | ||
|
||
### 5. Small & Extensible | ||
|
||
The core of Jekyll should be simple and small, and extensibility should be | ||
a first-class feature to provide added functionality from community | ||
contributors. The core should be kept to features used by at least 90% of | ||
users–everything else should be provided as a plugin. New features should | ||
be shipped as plugins and focus should be put on creating extensible core | ||
API's to support rich plugins. |
14 changes: 14 additions & 0 deletions
14
tests/snapshots/text_splitter_snapshots__huggingface_markdown@blog_frontmatter.md-2.snap
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,14 @@ | ||
--- | ||
source: tests/text_splitter_snapshots.rs | ||
expression: chunks | ||
input_file: tests/inputs/markdown/blog_frontmatter.md | ||
--- | ||
- "---\nlayout: page\ntitle: Philosophy\npermalink: /philosophy/\n---" | ||
- "\n\nJekyll offers a unique philosophy when approaching the problem of static\nsite generation. This core philosophy drives development and product\ndecisions. When a contributor, maintainer, or user asks herself what Jekyll\nis about, the following principles should come to mind:\n\n" | ||
- "### 1. No Magic\n\nJekyll is not magic. A user should be able to understand the underlying\nprocesses that make up the Jekyll build without much reading. It should\ndo only what you ask it to and nothing more. When a user takes a certain\naction, the outcome should be easily understandable and focused.\n\n" | ||
- "### 2. It \"Just Works\"\n\nThe out-of-the-box experience should be that it \"just works.\" Run\n`gem install jekyll` and it should build any Jekyll site that it's given.\nFeatures like auto-regeneration and settings like the markdown renderer\nshould represent sane defaults that work perfectly for the vast majority of\ncases. The burden of initial configuration should not be placed on the user.\n\n" | ||
- "### 3. Content is King\n\nWhy is Jekyll so loved by content creators? It focuses on content first and\nforemost, making the process of publishing content on the Web easy. Users\nshould find the management of their content enjoyable and simple.\n\n" | ||
- "### 4. Stability\n\n" | ||
- "If a user's site builds today, it should build tomorrow.\nBackwards-compatibility should be strongly preferred over breaking changes.\nBreaking changes should be made to support a strong practical goal, and\nbreaking changes should never be made to drive forward \"purity\" of the\ncodebase, or other changes purely to make the maintainers' lives easier.\nBreaking changes provide a significant amount of friction between upgrades\nand reduce the confidence of users in this software, and should thus be\navoided unless absolutely necessary.\n" | ||
- "Upon breaking changes, provide a clear path for users to upgrade.\n\n" | ||
- "### 5. Small & Extensible\n\nThe core of Jekyll should be simple and small, and extensibility should be\na first-class feature to provide added functionality from community\ncontributors. The core should be kept to features used by at least 90% of\nusers–everything else should be provided as a plugin. New features should\nbe shipped as plugins and focus should be put on creating extensible core\nAPI's to support rich plugins.\n" |
6 changes: 6 additions & 0 deletions
6
tests/snapshots/text_splitter_snapshots__huggingface_markdown@blog_frontmatter.md-3.snap
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,6 @@ | ||
--- | ||
source: tests/text_splitter_snapshots.rs | ||
expression: chunks | ||
input_file: tests/inputs/markdown/blog_frontmatter.md | ||
--- | ||
- "---\nlayout: page\ntitle: Philosophy\npermalink: /philosophy/\n---\n\nJekyll offers a unique philosophy when approaching the problem of static\nsite generation. This core philosophy drives development and product\ndecisions. When a contributor, maintainer, or user asks herself what Jekyll\nis about, the following principles should come to mind:\n\n### 1. No Magic\n\nJekyll is not magic. A user should be able to understand the underlying\nprocesses that make up the Jekyll build without much reading. It should\ndo only what you ask it to and nothing more. When a user takes a certain\naction, the outcome should be easily understandable and focused.\n\n### 2. It \"Just Works\"\n\nThe out-of-the-box experience should be that it \"just works.\" Run\n`gem install jekyll` and it should build any Jekyll site that it's given.\nFeatures like auto-regeneration and settings like the markdown renderer\nshould represent sane defaults that work perfectly for the vast majority of\ncases. The burden of initial configuration should not be placed on the user.\n\n### 3. Content is King\n\nWhy is Jekyll so loved by content creators? It focuses on content first and\nforemost, making the process of publishing content on the Web easy. Users\nshould find the management of their content enjoyable and simple.\n\n### 4. Stability\n\nIf a user's site builds today, it should build tomorrow.\nBackwards-compatibility should be strongly preferred over breaking changes.\nBreaking changes should be made to support a strong practical goal, and\nbreaking changes should never be made to drive forward \"purity\" of the\ncodebase, or other changes purely to make the maintainers' lives easier.\nBreaking changes provide a significant amount of friction between upgrades\nand reduce the confidence of users in this software, and should thus be\navoided unless absolutely necessary.\nUpon breaking changes, provide a clear path for users to upgrade.\n\n### 5. Small & Extensible\n\nThe core of Jekyll should be simple and small, and extensibility should be\na first-class feature to provide added functionality from community\ncontributors. The core should be kept to features used by at least 90% of\nusers–everything else should be provided as a plugin. New features should\nbe shipped as plugins and focus should be put on creating extensible core\nAPI's to support rich plugins.\n" |
73 changes: 73 additions & 0 deletions
73
tests/snapshots/text_splitter_snapshots__huggingface_markdown@blog_frontmatter.md.snap
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,73 @@ | ||
--- | ||
source: tests/text_splitter_snapshots.rs | ||
expression: chunks | ||
input_file: tests/inputs/markdown/blog_frontmatter.md | ||
--- | ||
- "---\nlayout: page\ntitle: Philosophy\n" | ||
- "permalink: /philosophy/\n---\n\n" | ||
- "Jekyll offers a unique philosophy when approaching the " | ||
- "problem of static\n" | ||
- "site generation. This core philosophy drives development and product\n" | ||
- "decisions. " | ||
- "When a contributor, maintainer, or user asks " | ||
- "herself what Jekyll\n" | ||
- "is about, the following principles should come to mind" | ||
- ":\n\n" | ||
- "### 1. No Magic\n\n" | ||
- "Jekyll is not magic. " | ||
- "A user should be able to understand the underlying\n" | ||
- "processes that make up the Jekyll build without " | ||
- "much reading. It should\n" | ||
- do only what you ask it to and nothing more | ||
- ". When a user takes a certain\n" | ||
- "action, the outcome should be easily understandable and " | ||
- "focused.\n\n" | ||
- "### 2. It \"Just Works\"\n\n" | ||
- "The out-of-the-box experience should " | ||
- "be that it \"just works.\" Run\n" | ||
- "`gem install jekyll` and " | ||
- "it should build any Jekyll site that " | ||
- "it's given.\n" | ||
- "Features like auto-regeneration and settings like the " | ||
- "markdown renderer\n" | ||
- "should represent sane defaults that work perfectly for " | ||
- "the vast majority of\n" | ||
- "cases. " | ||
- "The burden of initial configuration should not be placed on " | ||
- "the user.\n\n" | ||
- "### 3. Content is King\n\n" | ||
- Why is Jekyll so loved by content creators | ||
- "? It focuses on content first and\n" | ||
- "foremost, making the process of publishing content on the " | ||
- "Web easy. Users\n" | ||
- should find the management of their content enjoyable and simple | ||
- ".\n\n" | ||
- "### 4. Stability\n\n" | ||
- "If a user's site builds today, it " | ||
- "should build tomorrow.\n" | ||
- "Backwards-compatibility should be strongly preferred over " | ||
- "breaking changes.\n" | ||
- "Breaking changes should be made to support a strong practical " | ||
- "goal, and\n" | ||
- "breaking changes should never be made to drive forward \"" | ||
- "purity\" of the\n" | ||
- "codebase, or other changes purely to make the " | ||
- "maintainers' lives easier.\n" | ||
- "Breaking changes provide a significant amount of friction between upgrades\n" | ||
- "and reduce the confidence of users in this software, " | ||
- "and should thus be\navoided unless absolutely necessary.\n" | ||
- "Upon breaking changes, provide a clear path for users " | ||
- "to upgrade.\n\n" | ||
- "### 5. Small & Extensible\n\n" | ||
- "The core of Jekyll should be simple and " | ||
- "small, and extensibility should be\n" | ||
- "a first-class feature to provide added functionality from " | ||
- "community\n" | ||
- "contributors. " | ||
- "The core should be kept to features used by at " | ||
- "least 90% of\n" | ||
- "users–everything else should be provided as a " | ||
- "plugin. New features should\n" | ||
- "be shipped as plugins and focus should be put " | ||
- "on creating extensible core\nAPI'" | ||
- "s to support rich plugins.\n" |
14 changes: 14 additions & 0 deletions
14
...s/snapshots/text_splitter_snapshots__huggingface_markdown_trim@blog_frontmatter.md-2.snap
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,14 @@ | ||
--- | ||
source: tests/text_splitter_snapshots.rs | ||
expression: chunks | ||
input_file: tests/inputs/markdown/blog_frontmatter.md | ||
--- | ||
- "---\nlayout: page\ntitle: Philosophy\npermalink: /philosophy/\n---" | ||
- "Jekyll offers a unique philosophy when approaching the problem of static\nsite generation. This core philosophy drives development and product\ndecisions. When a contributor, maintainer, or user asks herself what Jekyll\nis about, the following principles should come to mind:" | ||
- "### 1. No Magic\n\nJekyll is not magic. A user should be able to understand the underlying\nprocesses that make up the Jekyll build without much reading. It should\ndo only what you ask it to and nothing more. When a user takes a certain\naction, the outcome should be easily understandable and focused." | ||
- "### 2. It \"Just Works\"\n\nThe out-of-the-box experience should be that it \"just works.\" Run\n`gem install jekyll` and it should build any Jekyll site that it's given.\nFeatures like auto-regeneration and settings like the markdown renderer\nshould represent sane defaults that work perfectly for the vast majority of\ncases. The burden of initial configuration should not be placed on the user." | ||
- "### 3. Content is King\n\nWhy is Jekyll so loved by content creators? It focuses on content first and\nforemost, making the process of publishing content on the Web easy. Users\nshould find the management of their content enjoyable and simple." | ||
- "### 4. Stability" | ||
- "If a user's site builds today, it should build tomorrow.\nBackwards-compatibility should be strongly preferred over breaking changes.\nBreaking changes should be made to support a strong practical goal, and\nbreaking changes should never be made to drive forward \"purity\" of the\ncodebase, or other changes purely to make the maintainers' lives easier.\nBreaking changes provide a significant amount of friction between upgrades\nand reduce the confidence of users in this software, and should thus be\navoided unless absolutely necessary." | ||
- "Upon breaking changes, provide a clear path for users to upgrade." | ||
- "### 5. Small & Extensible\n\nThe core of Jekyll should be simple and small, and extensibility should be\na first-class feature to provide added functionality from community\ncontributors. The core should be kept to features used by at least 90% of\nusers–everything else should be provided as a plugin. New features should\nbe shipped as plugins and focus should be put on creating extensible core\nAPI's to support rich plugins." |
6 changes: 6 additions & 0 deletions
6
...s/snapshots/text_splitter_snapshots__huggingface_markdown_trim@blog_frontmatter.md-3.snap
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,6 @@ | ||
--- | ||
source: tests/text_splitter_snapshots.rs | ||
expression: chunks | ||
input_file: tests/inputs/markdown/blog_frontmatter.md | ||
--- | ||
- "---\nlayout: page\ntitle: Philosophy\npermalink: /philosophy/\n---\n\nJekyll offers a unique philosophy when approaching the problem of static\nsite generation. This core philosophy drives development and product\ndecisions. When a contributor, maintainer, or user asks herself what Jekyll\nis about, the following principles should come to mind:\n\n### 1. No Magic\n\nJekyll is not magic. A user should be able to understand the underlying\nprocesses that make up the Jekyll build without much reading. It should\ndo only what you ask it to and nothing more. When a user takes a certain\naction, the outcome should be easily understandable and focused.\n\n### 2. It \"Just Works\"\n\nThe out-of-the-box experience should be that it \"just works.\" Run\n`gem install jekyll` and it should build any Jekyll site that it's given.\nFeatures like auto-regeneration and settings like the markdown renderer\nshould represent sane defaults that work perfectly for the vast majority of\ncases. The burden of initial configuration should not be placed on the user.\n\n### 3. Content is King\n\nWhy is Jekyll so loved by content creators? It focuses on content first and\nforemost, making the process of publishing content on the Web easy. Users\nshould find the management of their content enjoyable and simple.\n\n### 4. Stability\n\nIf a user's site builds today, it should build tomorrow.\nBackwards-compatibility should be strongly preferred over breaking changes.\nBreaking changes should be made to support a strong practical goal, and\nbreaking changes should never be made to drive forward \"purity\" of the\ncodebase, or other changes purely to make the maintainers' lives easier.\nBreaking changes provide a significant amount of friction between upgrades\nand reduce the confidence of users in this software, and should thus be\navoided unless absolutely necessary.\nUpon breaking changes, provide a clear path for users to upgrade.\n\n### 5. Small & Extensible\n\nThe core of Jekyll should be simple and small, and extensibility should be\na first-class feature to provide added functionality from community\ncontributors. The core should be kept to features used by at least 90% of\nusers–everything else should be provided as a plugin. New features should\nbe shipped as plugins and focus should be put on creating extensible core\nAPI's to support rich plugins." |
73 changes: 73 additions & 0 deletions
73
tests/snapshots/text_splitter_snapshots__huggingface_markdown_trim@blog_frontmatter.md.snap
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,73 @@ | ||
--- | ||
source: tests/text_splitter_snapshots.rs | ||
expression: chunks | ||
input_file: tests/inputs/markdown/blog_frontmatter.md | ||
--- | ||
- "---\nlayout: page\ntitle: Philosophy" | ||
- "permalink: /philosophy/\n---" | ||
- Jekyll offers a unique philosophy when approaching the | ||
- problem of static | ||
- site generation. This core philosophy drives development and product | ||
- decisions. | ||
- "When a contributor, maintainer, or user asks" | ||
- herself what Jekyll | ||
- "is about, the following principles should come to mind" | ||
- ":" | ||
- "### 1. No Magic" | ||
- Jekyll is not magic. | ||
- A user should be able to understand the underlying | ||
- processes that make up the Jekyll build without | ||
- much reading. It should | ||
- do only what you ask it to and nothing more | ||
- ". When a user takes a certain" | ||
- "action, the outcome should be easily understandable and" | ||
- focused. | ||
- "### 2. It \"Just Works\"" | ||
- The out-of-the-box experience should | ||
- "be that it \"just works.\" Run" | ||
- "`gem install jekyll` and" | ||
- it should build any Jekyll site that | ||
- "it's given." | ||
- Features like auto-regeneration and settings like the | ||
- markdown renderer | ||
- should represent sane defaults that work perfectly for | ||
- the vast majority of | ||
- cases. | ||
- The burden of initial configuration should not be placed on | ||
- the user. | ||
- "### 3. Content is King" | ||
- Why is Jekyll so loved by content creators | ||
- "? It focuses on content first and" | ||
- "foremost, making the process of publishing content on the" | ||
- Web easy. Users | ||
- should find the management of their content enjoyable and simple | ||
- "." | ||
- "### 4. Stability" | ||
- "If a user's site builds today, it" | ||
- should build tomorrow. | ||
- Backwards-compatibility should be strongly preferred over | ||
- breaking changes. | ||
- Breaking changes should be made to support a strong practical | ||
- "goal, and" | ||
- "breaking changes should never be made to drive forward \"" | ||
- "purity\" of the" | ||
- "codebase, or other changes purely to make the" | ||
- "maintainers' lives easier." | ||
- Breaking changes provide a significant amount of friction between upgrades | ||
- "and reduce the confidence of users in this software," | ||
- "and should thus be\navoided unless absolutely necessary." | ||
- "Upon breaking changes, provide a clear path for users" | ||
- to upgrade. | ||
- "### 5. Small & Extensible" | ||
- The core of Jekyll should be simple and | ||
- "small, and extensibility should be" | ||
- a first-class feature to provide added functionality from | ||
- community | ||
- contributors. | ||
- The core should be kept to features used by at | ||
- least 90% of | ||
- users–everything else should be provided as a | ||
- plugin. New features should | ||
- be shipped as plugins and focus should be put | ||
- "on creating extensible core\nAPI'" | ||
- s to support rich plugins. |
Oops, something went wrong.