Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare const text: string;

// --8<-- [start:example]
import { getIdfVersion, parseIdf, resolveVersion, SchemaBundle, httpSource } from 'idfkit';
import { getIdfVersion, parseIdf, resolveVersion, SchemaBundle, httpSource } from '@idfkit/idfkit';

const bundle = new SchemaBundle(httpSource('/schemas/'));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
declare const text: string;

// --8<-- [start:example]
import { getIdfVersion, parseIdf } from 'idfkit';
import { schemaFor } from 'idfkit/node';
import { getIdfVersion, parseIdf } from '@idfkit/idfkit';
import { schemaFor } from '@idfkit/idfkit/node';

const schema = await schemaFor(getIdfVersion(text));
const { document } = parseIdf(text, schema);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
declare const text: string;

// --8<-- [start:example]
import { getEpJsonVersion, parseEpJson } from 'idfkit';
import { loadEpJson, schemaFor } from 'idfkit/node';
import { getEpJsonVersion, parseEpJson } from '@idfkit/idfkit';
import { loadEpJson, schemaFor } from '@idfkit/idfkit/node';

const doc = await loadEpJson('whatever.epJSON');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// --8<-- [start:example]
import { loadIdf } from 'idfkit/node';
import { loadIdf } from '@idfkit/idfkit/node';

const doc = await loadIdf('fragment.idf', { version: '26.1.0' });
// --8<-- [end:example]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// --8<-- [start:example]
import { loadIdf } from 'idfkit/node';
import { loadIdf } from '@idfkit/idfkit/node';

const doc = await loadIdf('whatever.idf');
doc.version; // '9.0.1', say
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { StationIndex } from '@idfkit/weather';
declare const index: StationIndex;

// --8<-- [start:example]
import { fetchEpwByFilename } from 'idfkit/weather';
import { fetchEpwByFilename } from '@idfkit/idfkit/weather';

const epw = await fetchEpwByFilename('USA_IL_Chicago.Ohare.Intl.AP.725300_TMYx.2009-2023', index);
// --8<-- [end:example]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --8<-- [start:example]
import { loadBundledIndex } from '@idfkit/weather/node';
import { fetchWeatherFiles } from 'idfkit/weather';
import { fetchWeatherFiles } from '@idfkit/idfkit/weather';

const index = await loadBundledIndex();
const [best] = index.search('chicago ohare');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { WeatherStation } from '@idfkit/weather';
declare const station: WeatherStation;

// --8<-- [start:example]
import { fetchWeatherFiles } from 'idfkit/weather';
import { fetchWeatherFiles } from '@idfkit/idfkit/weather';
import { saveWeatherFiles } from '@idfkit/weather/node';

const files = await fetchWeatherFiles(station);
Expand Down
1,752 changes: 924 additions & 828 deletions docs/typedoc/typedoc.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ level = "governance-2026.18"
# TypeScript reference is generated from, published together so the two always describe the same
# commit. Read by scripts/sync_js_artifacts.py and docs/hooks/typedoc_shim.py.
[tool.idfkit.docs]
level = "docs-2026.4"
level = "docs-2026.5"

# Library level the Python half of the site renders from, as an exact version on the package
# index. New in feature 003. Two things read it, and they must agree: mkdocstrings generates the
Expand Down
Loading