зеркало из https://github.com/github/docs.git
Update some http links to https (#37577)
This commit is contained in:
Родитель
f520432027
Коммит
2eb4c98928
|
@ -101,7 +101,7 @@ When you're prompted to "Enter a file in which to save the key", you can press *
|
|||
|
||||
## Adding your SSH key to the ssh-agent
|
||||
|
||||
Before adding a new SSH key to the ssh-agent to manage your keys, you should have checked for existing SSH keys and generated a new SSH key. <span class="platform-mac">When adding your SSH key to the agent, use the default macOS `ssh-add` command, and not an application installed by [macports](https://www.macports.org/), [homebrew](http://brew.sh/), or some other external source.</span>
|
||||
Before adding a new SSH key to the ssh-agent to manage your keys, you should have checked for existing SSH keys and generated a new SSH key. <span class="platform-mac">When adding your SSH key to the agent, use the default macOS `ssh-add` command, and not an application installed by [macports](https://www.macports.org/), [homebrew](https://brew.sh/), or some other external source.</span>
|
||||
|
||||
{% mac %}
|
||||
|
||||
|
|
|
@ -34,4 +34,4 @@ shortTitle: Create custom 404 page
|
|||
|
||||
## Further reading
|
||||
|
||||
- [Front matter](http://jekyllrb.com/docs/frontmatter) in the Jekyll documentation
|
||||
- [Front matter](https://jekyllrb.com/docs/frontmatter) in the Jekyll documentation
|
||||
|
|
|
@ -33,7 +33,7 @@ shortTitle: GitHub Pages & Jekyll
|
|||
|
||||
Jekyll is a static site generator with built-in support for {% data variables.product.prodname_pages %} and a simplified build process. Jekyll takes Markdown and HTML files and creates a complete static website based on your choice of layouts. Jekyll supports Markdown and Liquid, a templating language that loads dynamic content on your site. For more information, see [Jekyll](https://jekyllrb.com/).
|
||||
|
||||
Jekyll is not officially supported for Windows. For more information, see "[Jekyll on Windows](http://jekyllrb.com/docs/windows/#installation)" in the Jekyll documentation.
|
||||
Jekyll is not officially supported for Windows. For more information, see "[Jekyll on Windows](https://jekyllrb.com/docs/windows/#installation)" in the Jekyll documentation.
|
||||
|
||||
We recommend using Jekyll with {% data variables.product.prodname_pages %}. If you prefer, you can use other static site generators or customize your own build process locally or on another server. For more information, see "[AUTOTITLE](/pages/getting-started-with-github-pages/about-github-pages#static-site-generators)."
|
||||
|
||||
|
@ -112,7 +112,7 @@ For a list of supported plugins, see "[Dependency versions](https://pages.github
|
|||
|
||||
To make your site easier to read, code snippets are highlighted on {% data variables.product.prodname_pages %} sites the same way they're highlighted on {% data variables.product.product_name %}. For more information about syntax highlighting on {% data variables.product.product_name %}, see "[AUTOTITLE](/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks)."
|
||||
|
||||
By default, code blocks on your site will be highlighted by Jekyll. Jekyll uses the [Rouge](https://github.com/jneen/rouge) highlighter, which is compatible with [Pygments](http://pygments.org/). Pygments has been deprecated and not supported in Jekyll 4. If you specify Pygments in your *_config.yml* file, Rouge will be used as the fallback instead. Jekyll cannot use any other syntax highlighter, and you'll get a page build warning if you specify another syntax highlighter in your *_config.yml* file. For more information, see "[AUTOTITLE](/pages/setting-up-a-github-pages-site-with-jekyll/about-jekyll-build-errors-for-github-pages-sites)."
|
||||
By default, code blocks on your site will be highlighted by Jekyll. Jekyll uses the [Rouge](https://github.com/jneen/rouge) highlighter, which is compatible with [Pygments](https://pygments.org/). Pygments has been deprecated and not supported in Jekyll 4. If you specify Pygments in your *_config.yml* file, Rouge will be used as the fallback instead. Jekyll cannot use any other syntax highlighter, and you'll get a page build warning if you specify another syntax highlighter in your *_config.yml* file. For more information, see "[AUTOTITLE](/pages/setting-up-a-github-pages-site-with-jekyll/about-jekyll-build-errors-for-github-pages-sites)."
|
||||
|
||||
If you want to use another highlighter, such as `highlight.js`, you must disable Jekyll's syntax highlighting by updating your project's *_config.yml* file.
|
||||
|
||||
|
|
|
@ -68,4 +68,4 @@ Jekyll is an active open source project that is updated frequently. If the `gith
|
|||
|
||||
## Further reading
|
||||
|
||||
- [{% data variables.product.prodname_pages %}](http://jekyllrb.com/docs/github-pages/) in the Jekyll documentation
|
||||
- [{% data variables.product.prodname_pages %}](https://jekyllrb.com/docs/github-pages/) in the Jekyll documentation
|
||||
|
|
|
@ -97,9 +97,9 @@ encoding: UTF-8
|
|||
|
||||
## Invalid highlighter language
|
||||
|
||||
This error means that you specified any syntax highlighter other than [Rouge](https://github.com/jneen/rouge) or [Pygments](http://pygments.org/) in your configuration file.
|
||||
This error means that you specified any syntax highlighter other than [Rouge](https://github.com/jneen/rouge) or [Pygments](https://pygments.org/) in your configuration file.
|
||||
|
||||
To troubleshoot, update your *_config.yml* file to specify [Rouge](https://github.com/jneen/rouge) or [Pygments](http://pygments.org/). For more information, see "[AUTOTITLE](/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll#syntax-highlighting)."
|
||||
To troubleshoot, update your *_config.yml* file to specify [Rouge](https://github.com/jneen/rouge) or [Pygments](https://pygments.org/). For more information, see "[AUTOTITLE](/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll#syntax-highlighting)."
|
||||
|
||||
## Invalid post date
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ shortTitle: Install Git LFS
|
|||
{% mac %}
|
||||
|
||||
1. Navigate to [git-lfs.github.com](https://git-lfs.github.com) and click **Download**. Alternatively, you can install {% data variables.large_files.product_name_short %} using a package manager:
|
||||
- To use [Homebrew](http://brew.sh/), run `brew install git-lfs`.
|
||||
- To use [Homebrew](https://brew.sh/), run `brew install git-lfs`.
|
||||
- To use [MacPorts](https://www.macports.org/), run `port install git-lfs`.
|
||||
|
||||
If you install {% data variables.large_files.product_name_short %} with Homebrew or MacPorts, skip to step six.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{% tip %}
|
||||
|
||||
**Tip:** If you see a Ruby error when you try to install Jekyll using Bundler, you may need to use a package manager, such as [RVM](https://rvm.io/) or [Homebrew](http://brew.sh/), to manage your Ruby installation. For more information, see "[Troubleshooting](https://jekyllrb.com/docs/troubleshooting/#jekyll--macos)" in the Jekyll documentation.
|
||||
**Tip:** If you see a Ruby error when you try to install Jekyll using Bundler, you may need to use a package manager, such as [RVM](https://rvm.io/) or [Homebrew](https://brew.sh/), to manage your Ruby installation. For more information, see "[Troubleshooting](https://jekyllrb.com/docs/troubleshooting/#jekyll--macos)" in the Jekyll documentation.
|
||||
|
||||
{% endtip %}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче