Skip to content

Commit

Permalink
rename src/index/index.ts to src/index/math-index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
RyotaUshio committed Nov 30, 2023
1 parent 5dabe4b commit 140dc3b
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/cleveref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { TFile, HeadingSubpathResult, BlockSubpathResult, App } from 'obsidian';
import * as MathLinks from 'obsidian-mathlinks';

import MathBooster from 'main';
import { MathIndex } from 'index/index';
import { MathIndex } from 'index/math-index';
import { MarkdownPage, MathBoosterBlock, TheoremCalloutBlock } from 'index/typings/markdown';


Expand Down
2 changes: 1 addition & 1 deletion src/equations/reading-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { App, MarkdownRenderChild, finishRenderMath, MarkdownPostProcessorContex
import MathBooster from 'main';
import { resolveSettings } from 'utils/plugin';
import { EquationBlock, MarkdownPage } from "index/typings/markdown";
import { MathIndex } from "index";
import { MathIndex } from "index/math-index";
import { isPdfExport, resolveLinktext } from "utils/obsidian";
import { replaceMathTag } from "./common";

Expand Down
2 changes: 1 addition & 1 deletion src/index/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { App, Component, EventRef, Events, MetadataCache, TAbstractFile, TFile,
import { Deferred, deferred } from "./utils/deferred";
import { ImporterSettings } from "../settings/settings";
import { MathImporter } from "./web-worker/importer";
import { MathIndex } from "./index";
import { MathIndex } from "./math-index";
import { ImportResult } from "./web-worker/message";
import { MarkdownPage } from "./typings/markdown";
import MathBooster from "../main";
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/search/core.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { App, EditorSuggestContext, Instruction, Notice, Scope, SearchResult, TFile, finishRenderMath, getAllTags, prepareFuzzySearch, prepareSimpleSearch, renderMath, sortSearchResults } from 'obsidian';

import MathBooster from 'main';
import { MathIndex } from 'index/index';
import { MathIndex } from 'index/math-index';
import { EquationBlock, MarkdownBlock, MarkdownPage, MathBoosterBlock, TheoremCalloutBlock } from 'index/typings/markdown';
import { getFileTitle } from 'index/utils/normalizers';
import { LEAF_OPTION_TO_ARGS } from 'settings/settings';
Expand Down
2 changes: 1 addition & 1 deletion src/theorem-callouts/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { capitalize } from 'utils/general';
import { formatTitleWithoutSubtitle } from "utils/format";
import { renderTextWithMath } from "utils/render";
import { MarkdownPage, TheoremCalloutBlock } from "index/typings/markdown";
import { MathIndex } from 'index/index';
import { MathIndex } from 'index/math-index';
import { parseTheoremCalloutMetadata, readTheoremCalloutSettings } from 'utils/parse';
import { THEOREM_LIKE_ENV_ID_PREFIX_MAP, THEOREM_LIKE_ENV_IDs, THEOREM_LIKE_ENV_PREFIXES, THEOREM_LIKE_ENV_PREFIX_ID_MAP, TheoremLikeEnvID, TheoremLikeEnvPrefix } from 'env';
import { getIO } from 'file-io';
Expand Down
2 changes: 1 addition & 1 deletion src/theorem-callouts/view-plugin.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { PluginValue, EditorView, ViewUpdate, ViewPlugin } from '@codemirror/view';

import MathBooster from 'main';
import { MathIndex } from 'index';
import { MathIndex } from 'index/math-index';


export const createTheoremCalloutNumberingViewPlugin = (plugin: MathBooster) => ViewPlugin.fromClass(
Expand Down

0 comments on commit 140dc3b

Please sign in to comment.