Skip to content

Commit e30c895

Browse files
committed
Add a workaround for unifiedjs/unified-engine#41
1 parent ee8a7de commit e30c895

File tree

5 files changed

+39
-4
lines changed

5 files changed

+39
-4
lines changed

.remarkignore

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2017 The Stdlib Authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#/
18+
19+
# Directories #
20+
###############
21+
build/
22+
downloads/
23+
reports/
24+
tmp/
25+
.git
26+
27+
# Only the top-level node_modules directory:
28+
/node_modules/
29+
30+
# Nested node_modules directories below the project node_modules directory:
31+
lib/node_modules/**/node_modules/

tools/make/lib/examples/markdown_javascript.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
REMARK_RUN_JAVASCRIPT_EXAMPLES_CONF ?= $(CONFIG_DIR)/remark/.remarkrc.js
2323

2424
# Define the path to the remark ignore file:
25-
REMARK_RUN_JAVASCRIPT_EXAMPLES_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore
25+
# REMARK_RUN_JAVASCRIPT_EXAMPLES_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore FIXME
26+
REMARK_RUN_JAVASCRIPT_EXAMPLES_IGNORE ?= $(ROOT)/.remarkignore
2627

2728
# Define the path to a plugin which processes JavaScript examples in Markdown files:
2829
REMARK_RUN_JAVASCRIPT_EXAMPLES_PLUGIN ?= $(TOOLS_PKGS_DIR)/remark/plugins/remark-run-javascript-examples

tools/make/lib/lint/markdown/remark.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ MARKDOWN_LINT ?= $(REMARK)
2525
REMARK_CONF ?= $(CONFIG_DIR)/remark/.remarkrc.js
2626

2727
# Define the path to the remark ignore file:
28-
REMARK_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore
28+
# REMARK_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore FIXME
29+
REMARK_IGNORE ?= $(ROOT)/.remarkignore
2930

3031
# Define the command-line options when invoking the remark executable:
3132
MARKDOWN_LINT_FLAGS ?= \

tools/make/lib/markdown/equations.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ EQUATION_RESOURCES_PATH ?= ./docs/img/
3737
REMARK_EQUATIONS_CONF ?= $(CONFIG_DIR)/remark/.remarkrc.js
3838

3939
# Define the path to the remark ignore file:
40-
REMARK_EQUATIONS_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore
40+
# REMARK_EQUATIONS_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore FIXME
41+
REMARK_EQUATIONS_IGNORE ?= $(ROOT)/.remarkignore
4142

4243
# Define the path to the local remark plugins directory:
4344
REMARK_LOCAL_PLUGINS_DIR ?= $(TOOLS_PKGS_DIR)/remark/plugins

tools/make/lib/markdown/namespace_toc.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ GIT_COMMIT_TOCS ?= $(GIT_COMMIT) -m $(GIT_COMMIT_MESSAGE_TOCS)
2828
REMARK_TOC_CONF ?= $(CONFIG_DIR)/remark/.remarkrc.js
2929

3030
# Define the path to the remark ignore file:
31-
REMARK_TOC_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore
31+
# REMARK_TOC_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore FIXME
32+
REMARK_TOC_IGNORE ?= $(ROOT)/.remarkignore
3233

3334
# Define the path to the local remark plugins directory:
3435
REMARK_LOCAL_PLUGINS_DIR ?= $(TOOLS_PKGS_DIR)/remark/plugins

0 commit comments

Comments
 (0)