Skip to content

Commit

Permalink
fix: edit url should support subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
endiliey committed Dec 10, 2018
1 parent b2b1cc2 commit 600311d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion v1/lib/core/Doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Doc extends React.Component {

if (this.props.version && this.props.version !== 'next') {
// If versioning is enabled and the current version is not next, we need to trim out "version-*" from the source if we want a valid edit link.
docSource = docSource.match(new RegExp(/version-.*\/(.*\.md)/, 'i'))[1];
docSource = docSource.match(new RegExp(/version-.*?\/(.*\.md)/, 'i'))[1];
}

const editUrl =
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
id: version-1.0.11-introduction
title: Introduction
original_id: introduction
---

Muster is a reactive state and data management library. It can:
- Collect data from multiple sources (user input, files, APIs, databases, etc.)
- Process the data in a reactive way, meaning that when the source (e.g. a file) changes, your logic that depends on that file gets re-run
- Manage dependencies between different pieces of logic
- Expose the data and logic as a graph
- Transparently handle synchronous and asynchronous data

![Muster Intro](assets/muster-intro.png)

Every Muster application expresses its data as a set of graph **nodes**, which can create links (dependencies) between each other. Muster introduces a concept of typed nodes, and different types of edges (called **operations**) between these nodes.

Muster operates a **virtual** graph, in the sense that Muster allows the creation of **matchers** which don’t exist in memory until they’re invoked – so the potential, virtual nodes are there but the actual entities haven’t yet been retrieved.

The following pages will take you through how Muster works and how to use it. Elsewhere, don't miss the **Resources** section for other pages that may be of interest:

- [Setting up Muster](/muster/docs/resources/setup.html)
- [Frequently Asked Questions](/muster/docs/resources/faq)
- [Essential nodes](/muster/docs/resources/essential-nodes)
- [Glossary of common terms](/muster/docs/glossary)
- [Latest changes](/muster/docs/changelog)
- [Common Muster Errors](/muster/docs/resources/common-muster-errors)

In addition, the library offers extensive reference [API documentation](/muster/api).

0 comments on commit 600311d

Please sign in to comment.