Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

ENG-2356 - Docs Provisory Redesign #155

Merged
merged 7 commits into from
Mar 16, 2022
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
55 changes: 0 additions & 55 deletions source/api-reference/index.html.md

This file was deleted.

5 changes: 2 additions & 3 deletions source/encryption/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ intro_includes:
- encryption/_available_provider_sdks

aux_links:
- <a class="toc-h2 toc-link" href="https://discord.gg/NSvXxaW5Fv" target="_blank">Join Discord</a>
- <a class="toc-h2 toc-link" href="https://github.com/Basis-Theory" target="_blank">GitHub</a>
- <a class="toc-h2 toc-link" href="mailto:support@basistheory.com?subject=Help!">Email Support</a>
- <a class="toc-h1 toc-link" href="https://github.com/Basis-Theory" target="_blank">GitHub</a>
- <a class="toc-h1 toc-link" href="mailto:support@basistheory.com?subject=Help!">Email Support</a>

search: true

Expand Down
16 changes: 16 additions & 0 deletions source/images/bt-logo-icon-header.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions source/images/icon/search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 40 additions & 11 deletions source/index.html.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,52 @@
---
title: Basis Theory API Reference
hide_code: true
docs_logo: docs.svg
docs_logo: api-logo.svg

language_tabs: # must be one of https://git.io/vQNgJ
- shell: cURL
- javascript: Node.js
- csharp: .NET
- python: Python <span class="beta beta-lang-selector">BETA</span>

toc_footers:

other_docs:
- <a href="/api-reference" class="toc-h2 toc-link">API Reference</a>
- <a href="/elements" class="toc-h2 toc-link">Elements</a>
- <a class="toc-h2 toc-link" href="https://developers.basistheory.com/">Home</a>
- <a class="toc-h2 toc-link" href="/elements">Elements</a>
- <a class="toc-h2 toc-link" href="/encryption">Encryption</a>
- <a href="https://guides.basistheory.com" class="toc-h2 toc-link">Guides</a>
- <a class="toc-h2 toc-link" href="https://developers.basistheory.com/getting-started">Guides</a>

intro_quick_links:
- api-reference/quick_links

aux_links:
- <a class="toc-h2 toc-link" href="https://discord.gg/NSvXxaW5Fv" target="_blank">Join Discord</a>
- <a class="toc-h2 toc-link" href="https://github.com/Basis-Theory" target="_blank">GitHub</a>
- <a class="toc-h2 toc-link" href="mailto:support@basistheory.com?subject=Help!">Email Support</a>

intro_includes:
- index_intro
- api-reference/introduction
- api-reference/getting_started
- api-reference/authentication
- api-reference/correlation_id
- api-reference/pagination
- api-reference/errors
- elements/limits

api_includes:
- api-reference/applications
- api-reference/atomic_banks
- api-reference/atomic_cards
- api-reference/logs
- api-reference/permissions
- api-reference/proxy
- api-reference/reactor_formulas
- api-reference/reactors
- api-reference/tenants
- api-reference/token-types
- api-reference/tokens
- api-reference/token_associations
- api-reference/tokenize
- api-reference/deprecations

aux_links:
- <a class="toc-h1 toc-link" href="https://github.com/Basis-Theory" target="_blank">GitHub</a>
- <a class="toc-h1 toc-link" href="https://support.basistheory.com" target="_blank">Get Support</a>

search: true

Expand Down
2 changes: 1 addition & 1 deletion source/javascripts/app/_toc.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
};

var refreshToc = function() {
var currentTop = $(document).scrollTop() + scrollOffset;
var currentTop = $(document).scrollTop() + scrollOffset + 60;

if (currentTop + windowHeight >= pageHeight) {
// at bottom of page, so just select last header by making currentTop very large
Expand Down
Loading