Skip to content

Commit

Permalink
Add a workaround for unifiedjs/unified-engine#41
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Nov 17, 2019
1 parent ee8a7de commit e30c895
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 4 deletions.
31 changes: 31 additions & 0 deletions .remarkignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#/
# @license Apache-2.0
#
# Copyright (c) 2017 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#/

# Directories #
###############
build/
downloads/
reports/
tmp/
.git

# Only the top-level node_modules directory:
/node_modules/

# Nested node_modules directories below the project node_modules directory:
lib/node_modules/**/node_modules/
3 changes: 2 additions & 1 deletion tools/make/lib/examples/markdown_javascript.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
REMARK_RUN_JAVASCRIPT_EXAMPLES_CONF ?= $(CONFIG_DIR)/remark/.remarkrc.js

# Define the path to the remark ignore file:
REMARK_RUN_JAVASCRIPT_EXAMPLES_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore
# REMARK_RUN_JAVASCRIPT_EXAMPLES_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore FIXME
REMARK_RUN_JAVASCRIPT_EXAMPLES_IGNORE ?= $(ROOT)/.remarkignore

# Define the path to a plugin which processes JavaScript examples in Markdown files:
REMARK_RUN_JAVASCRIPT_EXAMPLES_PLUGIN ?= $(TOOLS_PKGS_DIR)/remark/plugins/remark-run-javascript-examples
Expand Down
3 changes: 2 additions & 1 deletion tools/make/lib/lint/markdown/remark.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ MARKDOWN_LINT ?= $(REMARK)
REMARK_CONF ?= $(CONFIG_DIR)/remark/.remarkrc.js

# Define the path to the remark ignore file:
REMARK_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore
# REMARK_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore FIXME
REMARK_IGNORE ?= $(ROOT)/.remarkignore

# Define the command-line options when invoking the remark executable:
MARKDOWN_LINT_FLAGS ?= \
Expand Down
3 changes: 2 additions & 1 deletion tools/make/lib/markdown/equations.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ EQUATION_RESOURCES_PATH ?= ./docs/img/
REMARK_EQUATIONS_CONF ?= $(CONFIG_DIR)/remark/.remarkrc.js

# Define the path to the remark ignore file:
REMARK_EQUATIONS_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore
# REMARK_EQUATIONS_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore FIXME
REMARK_EQUATIONS_IGNORE ?= $(ROOT)/.remarkignore

# Define the path to the local remark plugins directory:
REMARK_LOCAL_PLUGINS_DIR ?= $(TOOLS_PKGS_DIR)/remark/plugins
Expand Down
3 changes: 2 additions & 1 deletion tools/make/lib/markdown/namespace_toc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ GIT_COMMIT_TOCS ?= $(GIT_COMMIT) -m $(GIT_COMMIT_MESSAGE_TOCS)
REMARK_TOC_CONF ?= $(CONFIG_DIR)/remark/.remarkrc.js

# Define the path to the remark ignore file:
REMARK_TOC_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore
# REMARK_TOC_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore FIXME
REMARK_TOC_IGNORE ?= $(ROOT)/.remarkignore

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

0 comments on commit e30c895

Please sign in to comment.