Skip to content

Commit

Permalink
fix styles for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kathweinschenkprophecy committed Dec 11, 2024
1 parent 9a00ac9 commit 41447f2
Show file tree
Hide file tree
Showing 39 changed files with 51 additions and 39 deletions.
2 changes: 1 addition & 1 deletion docs/SQL/gems/custom/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- sql
---

<h3><span class="badge rounded-pill text-bg-light">SQL Gem</span></h3>
<h3><span class="badge">SQL Gem</span></h3>

:::caution
This page about Custom SQL Gems is under construction. Please pardon our dust.
Expand Down
2 changes: 1 addition & 1 deletion docs/SQL/gems/joins.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- transformation
---

<h3><span class="badge rounded-pill text-bg-light">SQL Gem</span></h3>
<h3><span class="badge">SQL Gem</span></h3>

Upon opening the Join Gem, you can see a pop-up which provides several helpful features.

Expand Down
2 changes: 1 addition & 1 deletion docs/SQL/gems/subgraph/subgraph.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- SQL
---

<h3><span class="badge rounded-pill text-bg-light">SQL Gem</span></h3>
<h3><span class="badge">SQL Gem</span></h3>

Subgraph Gems let you take multiple different Gems and wrap them under a single reusable parent Gem. In other words, they allow you to decompose complex logic into reusable components and simplify the visual view of your data model.

Expand Down
2 changes: 1 addition & 1 deletion docs/SQL/gems/transform/aggregate.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tags:
- transformation
---

<h3><span class="badge rounded-pill text-bg-light">SQL Gem</span></h3>
<h3><span class="badge">SQL Gem</span></h3>

Together let's deconstruct a commonly used Transformation, the Aggregate Gem. Follow along in the `HelloWorld_SQL` Project.

Expand Down
2 changes: 1 addition & 1 deletion docs/SQL/gems/transform/deduplicate.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- unique
---

<h3><span class="badge rounded-pill text-bg-light">SQL Gem</span></h3>
<h3><span class="badge">SQL Gem</span></h3>

Removes rows with duplicate values of specified columns.

Expand Down
2 changes: 1 addition & 1 deletion docs/SQL/gems/transform/flattenschema.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- flatten
---

<h3><span class="badge rounded-pill text-bg-light">SQL Gem</span></h3>
<h3><span class="badge">SQL Gem</span></h3>

When processing raw data it can be useful to flatten complex data types like `Struct`s and `Array`s into simpler, flatter schemas. This allows you to preserve all schemas, and not just the first one. You can use FlattenSchema with Snowflake Models.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/custom/delta-table-operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- devops
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Helps perform the following operations on Delta tables.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/custom/file-operation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- dbfs
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Helps perform file operations like `copy` and `move` on different file systems.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/custom/rest-api-enrich.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- rest
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Enriches the DataFrame by adding column(s) with content from REST API output based on the given configuration.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/custom/script.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- code
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Provides a `SparkSession` and allows you to run custom code.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/custom/sql-statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- custom
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Create one or more DataFrame(s) based on provided SQL queries to run against one or more input DataFrames.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/join-split/compare-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- compare-columns
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

The CompareColumns Gem lets you compare columns between two DataFrames based on the key id columns defined.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/join-split/join.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tags:
- merge
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Joins 2 or more DataFrames based on the given configuration.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/join-split/repartition.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tags:
- coalesce
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

This will repartition or coalesce the input DataFrame based on the specified configuration. There are four different repartitioning options:

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/join-split/row-distributor.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- row distributor
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Use the RowDistributor Gem to create multiple DataFrames based on provided filter conditions from an input DataFrame.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/machine-learning/ml-openai.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tags:
]
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

The OpenAI Gem allows the Prophecy user to interact with the OpenAI API using two different requests:

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/machine-learning/ml-pinecone-lookup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Lookup a vector embedding from a Pinecone Database
tags: [generative-ai, machine-learning, llm, pinecone, openai]
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

The PineconeLookup Gem identifies content that is similar to a provided vector embedding. The Gem calls the Pinecone API and returns a set of IDs with highest similarity to the provided embedding.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/machine-learning/ml-text-processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tags:
]
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

The TextProcessing Gem enables text data preparation for machine learning in two different ways:

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/source-target/advanced/lookup.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- lookup
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Lookups are a special kind of Gem that allow you to mark a particular DataFrame as a _Broadcast_ DataFrame. Spark will ensure that this data is available on every computation node so that these lookups can be done without shuffling data. This is useful for looking up values in tables, hence the name.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tags:
- generator
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Generate synthetic data with this special kind of Source Gem.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/subgraph/basicSubgraph.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- group
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

In a **Basic Subgraph**, you have the capability to encapsulate multiple distinct Gems within a single, reusable parent Gem. This organizational approach enhances the visual clarity of your Pipeline by grouping various sections together under a common parent Gem. Additionally, it empowers you to break down intricate logic into modular components, thereby streamlining the Data Engineering processes.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/subgraph/tableIterator.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- iterator
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

TableIterator allows you to iterate over one or more Gems for each row of the first input DataFrame.
Let's see how to create a Basic Loop which loops over a Metadata Table, and for each row of the table will run the Gems inside the Subgraph.
Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/aggregate.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tags:
- count
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Allows you to group the data and apply aggregation methods and pivot operation.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/bulk-column-expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- columns
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

The BulkColumnExpressions Gem primarily lets you cast or change the data type of multiple columns at once. It provides additional functionality, including:

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/bulk-column-rename.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- columns
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Use the BulkColumnRename Gem to rename multiple columns in your Dataset in a systematic way.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/data-cleansing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- format
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Use the DataCleansing Gem to standardize data formats and address missing or null values in the data.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/deduplicate.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- unique
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Removes rows with duplicate values of specified columns.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/dynamic-select.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- dynamic
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Use the DynamicSelect Gem to dynamically filter columns of your Dataset based on a set of conditions.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- where
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Filters DataFrame based on the provided filter condition

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/flattenschema.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- flatten
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

When processing raw data it can be useful to flatten complex data types like structures and arrays into simpler, flatter schemas.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/limit.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- limit
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Limits the number of rows in the output.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/order-by.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tags:
- descending
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Sorts a DataFrame on one or more columns in ascending or descending order.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/reformat.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- transform
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Transforms one or more column names or values by using expressions and/or functions. It's useful when we need to extract only the required columns or make changes column-wise.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/schema-transform.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- schema
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

SchemaTransform is used to add, edit, rename or drop columns from the incoming DataFrame.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/set-operation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tags:
- difference
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Use the SetOperation Gem to perform addition or subtraction of rows from DataFrames with identical schemas and different data.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/unpivot.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- longformat
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

Use the Unpivot Gem to transform your data from a wide format to a long format.

Expand Down
2 changes: 1 addition & 1 deletion docs/Spark/gems/transform/window-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- aggregate
---

<h3><span class="badge rounded-pill text-bg-light">Spark Gem</span></h3>
<h3><span class="badge">Spark Gem</span></h3>

The WindowFunction lets you define a **WindowSpec** and apply window functions on a DataFrame.

Expand Down
1 change: 0 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const config = {
],
stylesheets: [
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css",
"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css",
],

themeConfig:
Expand Down
15 changes: 14 additions & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,19 @@ Gems table page

.alert--info {
--ifm-alert-background-color: var(--ifm-color-secondary-contrast-background);
--ifm-alert-border-color: rgb(216, 219, 230);
--ifm-alert-border-color: var(--ifm-color-primary-lightest);
--ifm-code-background: inherit;
}

/* Badge styles */

.badge {
color: #000;
background-color: rgb(248, 249, 250);
border: var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);
border-radius: 50rem;
font-size: 75%;
font-weight: var(--ifm-font-weight-bold);
line-height: 1;
padding: var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal);
}

0 comments on commit 41447f2

Please sign in to comment.