From 3293ffb40ac6ae33526394fb62991936ffa13377 Mon Sep 17 00:00:00 2001 From: yash-chowdhary Date: Tue, 11 Feb 2020 19:42:04 +0800 Subject: [PATCH 1/3] Remove dynamic include feature --- .../_markbind/boilerplates/folder/inside.md | 4 +- test/functional/test_site/expected/index.html | 18 +- .../test_site/expected/siteData.json | 1 + test/functional/test_site/index.md | 6 +- test/unit/parser.test.js | 158 +++++++++--------- 5 files changed, 95 insertions(+), 92 deletions(-) diff --git a/test/functional/test_site/_markbind/boilerplates/folder/inside.md b/test/functional/test_site/_markbind/boilerplates/folder/inside.md index eb2d22c07c..62021a33e5 100644 --- a/test/functional/test_site/_markbind/boilerplates/folder/inside.md +++ b/test/functional/test_site/_markbind/boilerplates/folder/inside.md @@ -1,6 +1,4 @@ -# Path within the boilerplate folder is separately specified - -This is dynamically included. +# Path within the boilerplate folder is separately specified Like static include, pages within the site should be able to use files located in folders within boilerplate. diff --git a/test/functional/test_site/expected/index.html b/test/functional/test_site/expected/index.html index dcf2201aa4..c6c586ef41 100644 --- a/test/functional/test_site/expected/index.html +++ b/test/functional/test_site/expected/index.html @@ -287,19 +287,22 @@

Focus groups<

Requirements gathering, requirements elicitation, requirements analysis, requirements capture are some of the terms commonly and interchangeably used to represent the activity of understanding what a software product should do.

-

Dynamic include

-

- -

+

Boilerplate include

-

- -

+
+

Path within the boilerplate folder is separately specified

+

Like static include, pages within the site should be able to use files located in folders within boilerplate.

+

Also, the boilerplate file name (e.g. inside.md) and the file that it is supposed to act as (notInside.md) can be different.

+

This file should behaves as if it is in the requirements folder:

+ +

+
+

Nested include

    @@ -549,6 +552,7 @@
    Focus groups‎ + Path within the boilerplate folder is separately specified‎