Skip to content

Commit 4e65587

Browse files
committed
Update URLs
Closes #857 Closes #856
1 parent 56b2664 commit 4e65587

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# CodeMirror
22

3-
[![Build Status](https://github.com/codemirror/codemirror.next/workflows/main/badge.svg)](https://github.com/codemirror/codemirror.next/actions)
3+
[![Build Status](https://github.com/codemirror/dev/workflows/main/badge.svg)](https://github.com/codemirror/codemirror.next/actions)
44

5-
This is the central repository for [CodeMirror 6](https://codemirror.net/6). It holds the bug tracker and development scripts.
5+
This is the central repository for [CodeMirror](https://codemirror.net/). It holds the bug tracker and development scripts.
66

77
If you want to **use** CodeMirror, install the separate packages from npm, and ignore the contents of this repository. If you want to **develop on** CodeMirror, this repository provides scripts to install and work with the various packages.
88

@@ -20,4 +20,4 @@ Developing is best done by setting up
2020

2121
which starts a server that automatically rebuilds the packages when their code changes and exposes a dev server on port 8090 running the [demo](http://localhost:8090) and [browser tests](http://localhost:8090/test/).
2222

23-
Please see [the website](https://codemirror.net/6/) for more information and [docs](https://codemirror.net/6/docs/ref).
23+
Please see [the website](https://codemirror.net/) for more information and [docs](https://codemirror.net/docs/ref).

bin/build-readme.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const {join} = require("path"), fs = require("fs")
99
exports.buildReadme = function(pkg) {
1010
let imports = [type => {
1111
let sibling = type.typeSource && core.find(name => type.typeSource.startsWith("../" + name + "/"))
12-
if (sibling) return "https://codemirror.net/6/docs/ref#" + sibling + "." + type.type
12+
if (sibling) return "https://codemirror.net/docs/ref#" + sibling + "." + type.type
1313
}, type => {
1414
if (/\blezer[\/-]tree\b/.test(type.typeSource)) return `https://lezer.codemirror.net/docs/ref/#tree.${type.type}`
1515
if (/\blezer\b/.test(type.typeSource)) return `https://lezer.codemirror.net/docs/ref/#lezer.${type.type}`
@@ -50,7 +50,7 @@ exports.buildReadme = function(pkg) {
5050
.replace(/id="(.*?)"/g, (_, id) => `id="user-content-${id.toLowerCase()}"`)
5151
.replace(/href="#(.*?)"/g, (_, id) => {
5252
let first = /^[^^.]*/.exec(id)[0]
53-
if (core.includes(first)) return `href="https://codemirror.net/6/docs/ref/#${id}"`
53+
if (core.includes(first)) return `href="https://codemirror.net/docs/ref/#${id}"`
5454
if (first == pkg.name && id.length > first.length) id = id.slice(first.length + 1)
5555
return `href="#user-content-${id.toLowerCase()}"`
5656
})

bin/cm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function releaseNotes(changes, version) {
168168

169169
let types = {breaking: "Breaking changes", fix: "Bug fixes", feature: "New features"}
170170

171-
let refTarget = "https://codemirror.net/6/docs/ref/"
171+
let refTarget = "https://codemirror.net/docs/ref/"
172172
let head = `## ${version} (${date})\n\n`, body = ""
173173
for (let type in types) {
174174
let messages = changes[type]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"repository": {
1919
"type": "git",
20-
"url": "https://github.com/codemirror/codemirror.next.git"
20+
"url": "https://github.com/codemirror/dev.git"
2121
},
2222
"workspaces": [
2323
"*"

0 commit comments

Comments
 (0)