mystmd 1.5.1__py3-none-any.whl → 1.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mystmd-1.5.1.dist-info → mystmd-1.6.0.dist-info}/METADATA +1 -1
- mystmd-1.6.0.dist-info/RECORD +9 -0
- mystmd_py/myst.cjs +29 -13
- mystmd-1.5.1.dist-info/RECORD +0 -9
- {mystmd-1.5.1.dist-info → mystmd-1.6.0.dist-info}/WHEEL +0 -0
- {mystmd-1.5.1.dist-info → mystmd-1.6.0.dist-info}/entry_points.txt +0 -0
- {mystmd-1.5.1.dist-info → mystmd-1.6.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
mystmd_py/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
mystmd_py/main.py,sha256=qFAnpbiqjx7jXMMmPSVUBA7SSxuRjmr6SiRDBH0rhKQ,2767
|
3
|
+
mystmd_py/myst.cjs,sha256=ObOgbobs1A8pus4Dor3d99XXTGbZNO0w2n-FvHoXhdQ,13209079
|
4
|
+
mystmd_py/nodeenv.py,sha256=8KER0P-WIXM2MsRJF4vcedBKscGoc26lJKojbkDxjbg,2447
|
5
|
+
mystmd-1.6.0.dist-info/METADATA,sha256=VIGmCmKT-K3R6JvtI4cGee0ykOjZjohtf2d1J2VLDAs,3019
|
6
|
+
mystmd-1.6.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
7
|
+
mystmd-1.6.0.dist-info/entry_points.txt,sha256=eC2ol2gqS2q5E-ktkMrBSvV0tckGUcNGS-c4hEQ-_V4,45
|
8
|
+
mystmd-1.6.0.dist-info/licenses/LICENSE,sha256=4BcikqvulW5nh_MxaocO-lC7ydIX23dMbcqtNTUSxr4,1082
|
9
|
+
mystmd-1.6.0.dist-info/RECORD,,
|
mystmd_py/myst.cjs
CHANGED
@@ -193391,7 +193391,7 @@ var {
|
|
193391
193391
|
} = import_index.default;
|
193392
193392
|
|
193393
193393
|
// src/version.ts
|
193394
|
-
var version = "1.
|
193394
|
+
var version = "1.6.0";
|
193395
193395
|
var version_default = version;
|
193396
193396
|
|
193397
193397
|
// ../myst-cli/dist/build/build.js
|
@@ -238747,17 +238747,29 @@ function listFromPages(pages, projectSlug) {
|
|
238747
238747
|
function listItemFromPages(pages, projectSlug) {
|
238748
238748
|
if (pages.length === 0)
|
238749
238749
|
return;
|
238750
|
-
const { title, slug, enumerator, level } = pages[0];
|
238750
|
+
const { title, slug, url, enumerator, level } = pages[0];
|
238751
238751
|
const text7 = {
|
238752
238752
|
type: "text",
|
238753
238753
|
value: `${enumerator ? `${enumerator} ` : ""}${title}`
|
238754
238754
|
};
|
238755
|
-
|
238756
|
-
|
238757
|
-
|
238758
|
-
|
238759
|
-
|
238760
|
-
|
238755
|
+
let child;
|
238756
|
+
if (url != null) {
|
238757
|
+
child = {
|
238758
|
+
type: "link",
|
238759
|
+
url,
|
238760
|
+
internal: false,
|
238761
|
+
children: [text7]
|
238762
|
+
};
|
238763
|
+
} else if (slug != null) {
|
238764
|
+
child = {
|
238765
|
+
type: "link",
|
238766
|
+
url: `${projectSlug ? `/${projectSlug}` : ""}/${slug}`,
|
238767
|
+
internal: true,
|
238768
|
+
children: [text7]
|
238769
|
+
};
|
238770
|
+
} else {
|
238771
|
+
child = text7;
|
238772
|
+
}
|
238761
238773
|
const item = {
|
238762
238774
|
type: "listItem",
|
238763
238775
|
children: [child]
|
@@ -289981,7 +289993,7 @@ var import_mime_types = __toESM(require_mime_types(), 1);
|
|
289981
289993
|
var import_node_path16 = __toESM(require("path"), 1);
|
289982
289994
|
|
289983
289995
|
// ../myst-cli/dist/version.js
|
289984
|
-
var version2 = "1.
|
289996
|
+
var version2 = "1.6.0";
|
289985
289997
|
var version_default2 = version2;
|
289986
289998
|
|
289987
289999
|
// ../myst-cli/dist/utils/headers.js
|
@@ -290296,6 +290308,10 @@ function npmPackageName() {
|
|
290296
290308
|
var _a6;
|
290297
290309
|
return (_a6 = process.env.MYSTMD_NPM_PACKAGE_NAME) !== null && _a6 !== void 0 ? _a6 : "mystmd";
|
290298
290310
|
}
|
290311
|
+
function npmBinaryName() {
|
290312
|
+
var _a6;
|
290313
|
+
return (_a6 = process.env.MYSTMD_NPM_BINARY_NAME) !== null && _a6 !== void 0 ? _a6 : "myst";
|
290314
|
+
}
|
290299
290315
|
function homeURL() {
|
290300
290316
|
var _a6;
|
290301
290317
|
return (_a6 = process.env.MYSTMD_HOME_URL) !== null && _a6 !== void 0 ? _a6 : "https://mystmd.org";
|
@@ -318711,7 +318727,7 @@ async function currentSiteRoutes(session, host, baseurl, opts) {
|
|
318711
318727
|
const pageSlug = slugToUrl(page.slug);
|
318712
318728
|
return {
|
318713
318729
|
url: `${host}${projSlug}/${pageSlug}`,
|
318714
|
-
path: import_node_path57.default.join((_a8 = proj.slug) !== null && _a8 !== void 0 ? _a8 : "", `${pageSlug}.html`)
|
318730
|
+
path: import_node_path57.default.join((_a8 = proj.slug) !== null && _a8 !== void 0 ? _a8 : "", `${pageSlug}/index.html`)
|
318715
318731
|
};
|
318716
318732
|
}),
|
318717
318733
|
// Download all of the configured JSON
|
@@ -321579,7 +321595,7 @@ async function checkAtGitRoot() {
|
|
321579
321595
|
|
321580
321596
|
// ../myst-cli/dist/init/gh-actions/index.js
|
321581
321597
|
function createGithubPagesAction({ defaultBranch = "main", username = "username", isGithubIO }) {
|
321582
|
-
return `# This file was created automatically with \`${
|
321598
|
+
return `# This file was created automatically with \`${npmBinaryName()} init --gh-pages\` \u{1FA84} \u{1F49A}
|
321583
321599
|
# Ensure your GitHub Pages settings for this repository are set to deploy with **GitHub Actions**.
|
321584
321600
|
|
321585
321601
|
name: ${readableName()} GitHub Pages Deploy
|
@@ -321619,7 +321635,7 @@ jobs:
|
|
321619
321635
|
- name: Install ${readableName()}
|
321620
321636
|
run: npm install -g ${npmPackageName()}
|
321621
321637
|
- name: Build HTML Assets
|
321622
|
-
run: ${
|
321638
|
+
run: ${npmBinaryName()} build --html
|
321623
321639
|
- name: Upload artifact
|
321624
321640
|
uses: actions/upload-pages-artifact@v3
|
321625
321641
|
with:
|
@@ -321630,7 +321646,7 @@ jobs:
|
|
321630
321646
|
`;
|
321631
321647
|
}
|
321632
321648
|
function createGithubCurvenoteAction({ defaultBranch = "main" }) {
|
321633
|
-
return `# This file was created automatically with \`${
|
321649
|
+
return `# This file was created automatically with \`${npmBinaryName()} init --gh-curvenote\` \u{1FA84} \u{1F49A}
|
321634
321650
|
|
321635
321651
|
name: Curvenote Deploy
|
321636
321652
|
on:
|
mystmd-1.5.1.dist-info/RECORD
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
mystmd_py/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
mystmd_py/main.py,sha256=qFAnpbiqjx7jXMMmPSVUBA7SSxuRjmr6SiRDBH0rhKQ,2767
|
3
|
-
mystmd_py/myst.cjs,sha256=eLGMcycCvFsjVfhLzslS9t0D4p931FZ7U6DPnyY9QkA,13208745
|
4
|
-
mystmd_py/nodeenv.py,sha256=8KER0P-WIXM2MsRJF4vcedBKscGoc26lJKojbkDxjbg,2447
|
5
|
-
mystmd-1.5.1.dist-info/METADATA,sha256=lyjeRoSgJyp1gK4AeO6IdcJ4jWCcsXVOFMCkVoeKCfM,3019
|
6
|
-
mystmd-1.5.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
7
|
-
mystmd-1.5.1.dist-info/entry_points.txt,sha256=eC2ol2gqS2q5E-ktkMrBSvV0tckGUcNGS-c4hEQ-_V4,45
|
8
|
-
mystmd-1.5.1.dist-info/licenses/LICENSE,sha256=4BcikqvulW5nh_MxaocO-lC7ydIX23dMbcqtNTUSxr4,1082
|
9
|
-
mystmd-1.5.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|