Skip to content

Commit 78f36d8

Browse files
authored
Merge pull request #230 from justwriteclick/build
Fix duplication issue and add SSG Performance Considerations
2 parents 9dad47f + 3ded685 commit 78f36d8

File tree

4 files changed

+5
-31
lines changed

4 files changed

+5
-31
lines changed

_learn/00-github-for-docs-files.md

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -233,40 +233,13 @@ _site
233233
.DS_Store
234234
```
235235

236-
For Hugo, you want to ignore these files and folders. The `static` folder could be named `public`, depending on your configuration
237-
```
238-
static
239-
.DS_Store
240-
```
241-
242-
## Ignoring operating system files or generated files
243-
244-
In GitHub repos, you can place a `.gitignore` file that contains the file extensions or folder names that you want to keep out of source control. When a file extension or folder is in the `.gitignore` file, even when you use the `git add .` command, those files and folders are not added to the commit.
245-
246-
This exclusion is useful so that you do not have a lot of difficult merges on output HTML files or operating system tracking files.
247-
248-
For Sphinx, you want to ignore these files and folders to avoid merge conflicts:
249-
250-
```
251-
build
252-
.DS_Store
253-
```
254-
255-
For Jekyll, you want to ignore these files and folders:
256-
257-
```
258-
_site
259-
.DS_Store
260-
```
261-
262236
For Hugo, you want to ignore these files and folders. The `static` folder could be named `public`, depending on your configuration.
263237
```
264238
static
265-
public # depends on configuration
239+
public # depends on the configuration
266240
.DS_Store
267241
```
268242

269243
## Additional resources
270-
[Learning Git and GitHub resources on help.github.com](https://help.github.com/articles/git-and-github-learning-resources/)
271-
[GitHub Guides](https://guides.github.com/)
244+
[Learning Git and GitHub resources on docs.github.com]([https://docs.github.com/en/get-started/quickstart/git-and-github-learning-resources](https://docs.github.com/en/get-started/quickstart/git-and-github-learning-resources))
272245
[Pro Git](https://git-scm.com/book/en/v2)
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
title: "Static Site Generator performance considerations"
3+
layout: learn
34
image:
4-
path: /images/so-simple-sample-image-4.jpg
5-
thumbnail: /images/site-logo.png
5+
path: /images/learn/ssg-performance.png
6+
thumbnail: /images/learn/ssg-performance-400×225.png
67
---
78

89
When you start building large documentation sites, or gluing together multiple documentation sets, you might look for performance gains in the build time. Having smaller doc sites helps with this, so that you can build with your static site generator systems in parallel, but also look for incremental builds or ways to measure build times to look for areas where the build is slowed down and then find a root cause for the slower performance.
38.3 KB
Loading

images/learn/ssg-performance.png

214 KB
Loading

0 commit comments

Comments
 (0)