Skip to content

Commit

Permalink
Merge pull request #8405 from blink1073/fix-docs-1.2.x
Browse files Browse the repository at this point in the history
[1.2.x] Fix docs and integrity
  • Loading branch information
afshin committed May 10, 2020
2 parents 13bd09f + dc6e4a1 commit a9c22d9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion buildutils/src/ensure-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export async function ensureUiComponents(
const iconModelDeclarations = _iconModelDeclarations.join(',\n');

// generate the actual contents of the iconImports file
const iconImportsPath = path.join(iconSrcDir, 'iconImports.ts');
const iconImportsPath = path.join(iconSrcDir, 'iconimports.ts');
const iconImportsContents = utils.fromTemplate(
HEADER_TEMPLATE + ICON_IMPORTS_TEMPLATE,
{ funcName, iconImportStatements, iconModelDeclarations }
Expand Down
12 changes: 6 additions & 6 deletions buildutils/src/ensure-repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ export async function ensureIntegrity(): Promise<boolean> {

// Validate each package.
for (let name in locals) {
// application-top is handled elsewhere
if (name === '@jupyterlab/application-top') {
continue;
}
let unused = UNUSED[name] || [];
// Allow jest-junit to be unused in the test suite.
if (name.indexOf('@jupyterlab/test-') === 0) {
Expand Down Expand Up @@ -381,17 +385,13 @@ export async function ensureIntegrity(): Promise<boolean> {
// Handle the JupyterLab application top package.
pkgMessages = ensureJupyterlab();
if (pkgMessages.length > 0) {
let pkgName = '@jupyterlab/application-top';
if (!messages[pkgName]) {
messages[pkgName] = [];
}
messages[pkgName] = messages[pkgName].concat(pkgMessages);
messages['@application/top'] = pkgMessages;
}

// Handle any messages.
if (Object.keys(messages).length > 0) {
console.log(JSON.stringify(messages, null, 2));
if ('--force' in process.argv) {
if (process.argv.indexOf('--force') !== -1) {
console.log(
'\n\nPlease run `jlpm run integrity` locally and commit the changes'
);
Expand Down
2 changes: 1 addition & 1 deletion docs/source/getting_started/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ JupyterLab Changelog
---------------------------------------------------------------------------

v1.2.15
~~~~~~~
^^^^^^^
* Fix watch mode and add CI Test (`#8396 <https://github.com/jupyterlab/jupyterlab/pull/8396>`__)

v1.2.14
Expand Down
6 changes: 0 additions & 6 deletions packages/nbconvert-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@
"@jupyterlab/rendermime": "^1.2.8"
},
"devDependencies": {
"@jupyterlab/apputils": "^1.2.8",
"@jupyterlab/cells": "^1.2.9",
"@jupyterlab/codemirror": "^1.2.8",
"@jupyterlab/notebook": "^1.2.9",
"@jupyterlab/outputarea": "^1.2.9",
"@jupyterlab/rendermime": "^1.2.8",
"css-loader": "~2.1.1",
"file-loader": "~3.0.1",
"mini-css-extract-plugin": "~0.6.0",
Expand Down
6 changes: 6 additions & 0 deletions scripts/release_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

set -ex

# Make sure the docs build
pushd docs
pip install -r requirements.txt
make html
popd

# Init conda
. $(conda info --base)/etc/profile.d/conda.sh

Expand Down

0 comments on commit a9c22d9

Please sign in to comment.