Skip to content

Commit

Permalink
Migrate docs to the new format
Browse files Browse the repository at this point in the history
  • Loading branch information
vtemian committed Oct 20, 2019
1 parent bf375a0 commit 4a6720f
Show file tree
Hide file tree
Showing 8 changed files with 159 additions and 25 deletions.
Empty file removed docs/Makefile
Empty file.
10 changes: 10 additions & 0 deletions docs/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: What is Gitfs
linktitle: What is Gitfs
description: Gitfs is a fuse file system that fully integrates with git
categories: [gitfs]
keywords: [gitfs, versioned filesystem, git filesystem, fuse, linux filesystem, macos filesystem]
toc: false
related: false
layout: documentation-home
---
14 changes: 14 additions & 0 deletions docs/documentation/arguments.md → docs/arguments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
---
title: Arguments
linktitle: Arguments
description: A list with all arguments for Gitfs
categories: [gitfs]
keywords: [gitfs, arguments, usage]
weight: 4
draft: false
aliases: []
toc: true
related: true
slug: arguments
---

## Using options

In order to use options when mounting gitfs, you need to append the options as an argument when using the mount command like this:
Expand Down
92 changes: 92 additions & 0 deletions docs/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
baseURL = "https://www.presslabs.com/code/gitfs/"
languageCode = "en-us"
title = "Gitfs DOCS"
summaryLength = 15
metaDataFormat = "yaml"
theme = "docs"
enableRobotsTXT = true
enableGitInfo = true
pygmentsCodeFences = true
pygmentsOptions = ""
pygmentsUseClasses = true
pygmentsUseClassic = false
pygmentsStyle = "github"
dataDir = "/site/data"

[params]
site_url = "https://www.presslabs.com/code/"
legal_url = "https://www.presslabs.com/legal"
breadcrumbs_root = "Gitfs DOCS"
quick_start = true
quick_start_link = "what-is-gitfs/"
logo_text = "CODE"
search_placeholder = "Search code"
footer_menu = true
footer_menu_title = "DOCUMENTATION"
title = "Welcome to Gitfs Documentation!"
description = "Gitfs is a fuse filesystem that fully integrates with git"
release = "0.5.1"
# debug = true
algolia_search = true
algolia_appId = "0TS6NFHDBC"
algolia_apiKey = "099bffdf3b4a6ea94ddbea10f73dd15a"
algolia_indexName = "Gitfs Docs"
algolia_currentLanguageOnly = true
images = ["images/code.jpg"]

[params.algolia]
vars = ["title", "description", "summary", "content", "date", "lastmod", "permalink", "text", "lvl0", "lvl1", "url"]
params = ["categories", "keywords"]

[blackfriday]
angledQuotes = true
extensions = ["hardLineBreak"]
sourceRelativeLinks = true
fractions = false
plainIDAnchors = true

[outputFormats.Algolia]
baseName = "algolia"
isPlainText = true
mediaType = "application/json"
notAlternative = true

[outputs]
home = [ "HTML", "RSS", "JSON", "Algolia" ]

[taxonomies]
category = "categories"

[related]
threshold = 80
includeNewer = true
toLower = false

[[related.indices]]
name = "keywords"
weight = 150

[[menu.docs]]
name = "What is Gitfs"
weight = 1
url = "/what-is-gitfs/"

[[menu.docs]]
name = "How it works"
weight = 2
url = "/how-gitfs-works/"

[[menu.docs]]
name = "Usage"
weight = 3
url = "/install-and-use-gitfs/"

[[menu.docs]]
name = "Arguments"
weight = 4
url = "/arguments/"

[imaging]
resampleFilter = "CatmullRom"
quality = 75
anchor = "smart"
14 changes: 14 additions & 0 deletions docs/documentation/how-it-works.md → docs/how-it-works.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
---
title: How Gitfs works
linktitle: Gitfs explained
description: Gitfs uses fuse to create current and history directories
categories: [gitfs]
keywords: [gitfs, readonlyview, passthroughview, currentview, historyview, commitview, indexview, fetchworker, mergeworker]
weight: 2
draft: false
aliases: []
toc: true
related: true
slug: how-gitfs-works
---

## FUSE

gitfs uses [FUSE](http://fuse.sourceforge.net/) to create its filesystem. It’s used to create the `current` and `history` directories that you can find where you mounted the repository. More on that [here](usage.md#user-content-directory-structure).
Expand Down
24 changes: 0 additions & 24 deletions docs/mkdocs.yml

This file was deleted.

16 changes: 15 additions & 1 deletion docs/documentation/usage.md → docs/usage.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
---
title: How to install and use Gitfs
linktitle: Install Gitfs
description: Here are the required steps to install and use Gitfs on your machine.
categories: [gitfs]
keywords: [gitfs, install gitfs, install on ubuntu 18.04, install on ubuntu 19.04, gitfs on ubuntu, gitfs on debian, gitfs on macos]
weight: 3
draft: false
aliases: []
toc: true
related: true
slug: install-and-use-gitfs
---

## Installing

1. Ubuntu 12.04 and 14.04 are fully supported for now.
1. Ubuntu 18.04, 19.04 and 19.10 are fully supported for now.

```
sudo add-apt-repository ppa:presslabs/gitfs
Expand Down
14 changes: 14 additions & 0 deletions docs/documentation/index.md → docs/what-is-gitfs.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
---
title: What is Gitfs
linktitle: What is Gitfs
description: Gitfs is a fuse file system that fully integrates with git
categories: [gitfs]
keywords: [gitfs, versioned filesystem, git filesystem, linux filesystem, macos filesystem]
weight: 1
draft: false
aliases: []
toc: true
related: true
slug: what-is-gitfs
---

## Welcome to gitfs

gitfs is a [FUSE](http://fuse.sourceforge.net/) file system that fully integrates with git. You can mount a remote repository’s branch locally, and any subsequent changes made to the files will be automatically committed to the remote.
Expand Down

0 comments on commit 4a6720f

Please sign in to comment.