Skip to content

Commit

Permalink
Change Directory Structure
Browse files Browse the repository at this point in the history
  • Loading branch information
yousinix committed Jan 25, 2020
1 parent f7ce442 commit 6b01c7a
Show file tree
Hide file tree
Showing 26 changed files with 6 additions and 24 deletions.
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ nav_exclude: # Pages with the following paths will be exc
- pages/tags.html
- pages/404.html
- pages/index.md
- pages/documentation/**
- documentation/partials/**


### Author Info ###
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/docs.md → docs/documentation/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ weight: 5
# About portfolYOU <small class="text-muted">{{ site.github.latest_release.tag_name }}</small>
{:.no_toc}

{%- assign documentation_dir = "documentation" -%}
{%- assign docs = site.static_files | where_exp: "file", "file.path contains documentation_dir" -%}
{%- assign partials_dir = "partials" -%}
{%- assign docs = site.static_files | where_exp: "file", "file.path contains partials_dir" -%}

{% for doc in docs %}
{% assign parent_dir = doc.path | split: documentation_dir | first %}
{% assign parent_dir = doc.path | split: partials_dir | first %}
{% assign relative_path = doc.path | remove: parent_dir %}
{% include_relative {{ relative_path }} %}
{% endfor %}
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
- Automated Table of Contents
{:toc}

***
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 0 additions & 20 deletions docs/pages/documentation/03-sections.md

This file was deleted.

File renamed without changes.

0 comments on commit 6b01c7a

Please sign in to comment.