Skip to content

Commit 89f0dc8

Browse files
update old iframes
1 parent 6465075 commit 89f0dc8

File tree

209 files changed

+534
-384
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+534
-384
lines changed

.github/README_GH_ACTIONS.md

Lines changed: 1 addition & 1 deletion

.github/workflows/generated-sources-master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
git config --global user.name 'github-actions[bot]'
2828
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
29-
git add './core/generated-sources' './dataframe-csv/generated-sources' './docs/StardustDocs/snippets' './docs/StardustDocs/topics'
29+
git add './core/generated-sources' './dataframe-csv/generated-sources' './docs/StardustDocs/resources/snippets' './docs/StardustDocs/topics'
3030
git diff --staged --quiet || git commit -m "Automated commit of generated code"
3131
git push
3232
env:

.github/workflows/generated-sources.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ jobs:
4242

4343
- name: Check for changes in generated sources
4444
id: git-diff
45-
run: echo "changed=$(if git diff --quiet './core/generated-sources' './dataframe-csv/generated-sources' './docs/StardustDocs/snippets' './docs/StardustDocs/topics'; then echo 'false'; else echo 'true'; fi)" >> $GITHUB_OUTPUT
45+
run: echo "changed=$(if git diff --quiet './core/generated-sources' './dataframe-csv/generated-sources' './docs/StardustDocs/resources/snippets' './docs/StardustDocs/topics'; then echo 'false'; else echo 'true'; fi)" >> $GITHUB_OUTPUT
4646

4747
- name: Commit and push if changes
4848
id: git-commit
4949
if: steps.git-diff.outputs.changed == 'true'
5050
run: |
5151
git checkout -b generated-sources/docs-update-${{ github.run_number }}
52-
git add './core/generated-sources' './dataframe-csv/generated-sources' './docs/StardustDocs/snippets' './docs/StardustDocs/topics'
52+
git add './core/generated-sources' './dataframe-csv/generated-sources' './docs/StardustDocs/resources/snippets' './docs/StardustDocs/topics'
5353
git commit -m "Update generated sources with recent changes"
5454
git push origin generated-sources/docs-update-${{ github.run_number }}
5555
echo "commit=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT

KDOC_PREPROCESSING.md

Lines changed: 1 addition & 1 deletion

core/README.md

Lines changed: 3 additions & 3 deletions

core/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ val clearSamplesOutputs by tasks.creating {
144144

145145
doFirst {
146146
delete {
147-
val generatedSnippets = fileTree(file("../docs/StardustDocs/snippets"))
147+
val generatedSnippets = fileTree(file("../docs/StardustDocs/resources/snippets"))
148148
.exclude("**/manual/**", "**/kdocs/**")
149149
delete(generatedSnippets)
150150
}
@@ -154,7 +154,7 @@ val clearSamplesOutputs by tasks.creating {
154154
val addSamplesToGit by tasks.creating(GitTask::class) {
155155
directory = file(".")
156156
command = "add"
157-
args = listOf("-A", "../docs/StardustDocs/snippets")
157+
args = listOf("-A", "../docs/StardustDocs/resources/snippets")
158158
}
159159

160160
val copySamplesOutputs = tasks.register<JavaExec>("copySamplesOutputs") {
@@ -217,7 +217,7 @@ val processKDocsMain by creatingRunKodexTask(processKDocsMainSources) {
217217
outputReadOnly = false
218218

219219
exportAsHtml {
220-
dir = file("../docs/StardustDocs/snippets/kdocs")
220+
dir = file("../docs/StardustDocs/resources/snippets/kdocs")
221221
}
222222
finalizedBy("runKtlintFormatOverGeneratedSourcesSourceSet")
223223
}

core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/explainer/PluginCallbackProxy.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ object PluginCallbackProxy : PluginCallback {
131131
File(korro, group).writeText(
132132
"""
133133
134-
<dataFrame src="$group.html"/>
134+
<inline-frame src="resources/$group.html" width="100%"/>
135135
""".trimIndent(),
136136
)
137137
}

core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/explainer/SampleAggregator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fun main() {
1313
.groupBy {
1414
it.nameWithoutExtension.substringBefore("_")
1515
}.mapValues { (name, files) ->
16-
val target = File("../docs/StardustDocs/snippets")
16+
val target = File("../docs/StardustDocs/resources/snippets")
1717
val original = files
1818
.firstOrNull { it.nameWithoutExtension.contains("properties") }
1919
?: files.first()

core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/OtherSamples.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class OtherSamples {
2121
}
2222

2323
private fun writeTable(df: AnyFrame, name: String) {
24-
val dir = File("../docs/StardustDocs/snippets/manual").also { it.mkdirs() }
24+
val dir = File("../docs/StardustDocs/resources/snippets/manual").also { it.mkdirs() }
2525
val html = df.toStandaloneHTML(getFooter = WritersideFooter) + WritersideStyle
2626
html.writeHTML(File(dir, "$name.html"))
2727
}

dataframe-csv/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ val processKDocsMain by creatingRunKodexTask(processKDocsMainSources) {
8888
outputReadOnly = false
8989

9090
exportAsHtml {
91-
dir = file("../docs/StardustDocs/snippets/kdocs")
91+
dir = file("../docs/StardustDocs/resources/snippets/kdocs")
9292
}
9393
finalizedBy("runKtlintFormatOverGeneratedSourcesSourceSet")
9494
}

0 commit comments

Comments
 (0)