Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Doc 2.0 #1066

Merged
merged 155 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
b08101a
Add initial settings for doc 2.0
limemloh Oct 3, 2024
e8c925d
Add missing files
limemloh Oct 3, 2024
58572fd
New structure Protocol and Smart Contracts
TinaKT Oct 4, 2024
bcbb7d2
Further changes to structure
TinaKT Oct 7, 2024
19ab4b7
More changes to to structure
TinaKT Oct 7, 2024
9f95c4a
Clenaup
TinaKT Oct 7, 2024
7aea190
Overline too short fixed
TinaKT Oct 7, 2024
da8e539
fixing include
TinaKT Oct 7, 2024
7b57de4
Added newline at end of file
TinaKT Oct 7, 2024
12b66af
Added image
TinaKT Oct 7, 2024
c05be3d
cleanup in old docs
TinaKT Oct 7, 2024
2d6662e
cleanup
TinaKT Oct 7, 2024
8e9a3ab
Cleanup
TinaKT Oct 7, 2024
0d4c79d
cleanup
TinaKT Oct 7, 2024
49e33ce
cleanup
TinaKT Oct 7, 2024
0185a70
cleanup
TinaKT Oct 7, 2024
b08e8ad
using old delegation-faq
TinaKT Oct 7, 2024
b3c255e
reference to build-contract
TinaKT Oct 7, 2024
9c845d7
rename setup-tools to build-contract
TinaKT Oct 7, 2024
7a31b57
file moved
TinaKT Oct 7, 2024
19b3f0e
Structure-phase-2
TinaKT Oct 13, 2024
facabc0
Addings-structure-phase-2
TinaKT Oct 15, 2024
06d6374
Transaction-Fees-page-created
TinaKT Oct 15, 2024
98b2065
Fixed various bugs from lint and build
TinaKT Oct 15, 2024
5d1b448
Fixed includes
TinaKT Oct 15, 2024
317d038
Fixed include
TinaKT Oct 15, 2024
fec2a23
Fixed includes
TinaKT Oct 15, 2024
12c2b69
Fixed references
TinaKT Oct 15, 2024
57c8999
Fixed references
TinaKT Oct 15, 2024
aadc288
Fixed references
TinaKT Oct 15, 2024
76598c2
Moved files from downloads and installation to new structure
TinaKT Oct 28, 2024
61919a4
Moved glossary and Delegation and Validation FAQ into new structure
TinaKT Oct 28, 2024
ef32529
Cleanup
TinaKT Oct 28, 2024
8b0bc0d
Merge branch 'main' into doc2
TinaKT Oct 28, 2024
3791adf
Added newline
TinaKT Oct 28, 2024
3ac7b71
Removed run-node-aws
TinaKT Oct 28, 2024
131f666
new reference added
TinaKT Oct 28, 2024
ea3089e
Edited transaction documents.
TinaKT Oct 29, 2024
5849bd1
Moved Onboarding for Solana developers into new structure
TinaKT Oct 29, 2024
2c555f8
Moved Ethereum guide for developers into new structure
TinaKT Oct 30, 2024
59c832c
Moved voting files and images to new structure
TinaKT Oct 30, 2024
1e5f146
Updated index
TinaKT Oct 30, 2024
f822d8c
Updated index
TinaKT Oct 30, 2024
3079575
Merge branch 'main' into doc2
TinaKT Oct 30, 2024
03e0ef8
Updated index
TinaKT Oct 30, 2024
4edd5dd
Made copy of snippets
TinaKT Oct 30, 2024
5f4b8de
Moved smart contract tutorials to new structure
TinaKT Oct 30, 2024
4370540
Added content to Tutorials menu
TinaKT Oct 31, 2024
b50baa5
corrected typo
TinaKT Oct 31, 2024
87dc024
added new line
TinaKT Oct 31, 2024
e3b8e3f
deleted white space
TinaKT Oct 31, 2024
390466c
updated path
TinaKT Oct 31, 2024
45c7238
Moved CCDScan files into new structure
TinaKT Nov 1, 2024
032133a
Addede set-up-doc-env-MacOs.rst
TinaKT Nov 3, 2024
7443888
Deleted spaces
TinaKT Nov 3, 2024
ccc3371
deleted reference
TinaKT Nov 3, 2024
aaf639a
renamed label tools2
TinaKT Nov 3, 2024
b4f8612
wallet sdk files moved into new structure
TinaKT Nov 4, 2024
f22c2d3
Moved smart contract references into new structure
TinaKT Nov 4, 2024
2c6767f
moved files to new structure
TinaKT Nov 4, 2024
991e158
Moved wallet documentation into new structure
TinaKT Nov 4, 2024
ef3b000
Moved missing files to new structure
TinaKT Nov 5, 2024
efcb144
test
TinaKT Nov 5, 2024
54377b1
Merge branch 'main' into doc2
TinaKT Nov 5, 2024
5be5627
deleted white spaces
TinaKT Nov 5, 2024
1b852f0
removed ref to non-existing doc
TinaKT Nov 5, 2024
4f2601a
added aws node files
TinaKT Nov 5, 2024
d5eefc4
Updated conf.py
TinaKT Nov 6, 2024
38b3210
Removed on-chain guides from Tools section as they're already in Docs…
TinaKT Nov 6, 2024
c259dbd
Moved status pages from Tools section
TinaKT Nov 6, 2024
1a14510
Deleted Disclosing Identity section in Accounts doc.
TinaKT Nov 7, 2024
5eb59af
Replaced wallet descriptions with links in Accounts doc
TinaKT Nov 7, 2024
d208f0e
Added frontpage
TinaKT Nov 7, 2024
cfc8348
Bug fixes
TinaKT Nov 7, 2024
b766021
Merge branch 'main' into doc2
TinaKT Nov 7, 2024
433afda
Updated frontpage
TinaKT Nov 10, 2024
1500b3f
Deleted image on Docs frontpage
TinaKT Nov 11, 2024
5e86596
Minor updates
TinaKT Nov 11, 2024
b16a67c
Made doc/index landing page and removed header in navigation bar
TinaKT Nov 11, 2024
2bcd556
test
TinaKT Nov 11, 2024
d87d036
Updated conf.py
TinaKT Nov 11, 2024
ff63435
Test
TinaKT Nov 11, 2024
893f762
Imporved voting tutorial, removed unnecessary wallet info
Nov 12, 2024
eadcc4d
Remove mention of unexplained tests,added a reference to them
Nov 13, 2024
3798440
Created Tutorials landing page
TinaKT Nov 13, 2024
f1d3392
Updated reference
TinaKT Nov 13, 2024
351d6e2
fixed target
TinaKT Nov 13, 2024
6c3b651
Added landing page for Tools section
TinaKT Nov 14, 2024
6695f37
Improved NFT tutorial, added more references
Nov 14, 2024
6b47b9f
Merge pull request #1120 from Concordium/doc2-tutorials-voting
dragosgd Nov 14, 2024
52b632c
Merge pull request #1121 from Concordium/doc2-tutorials-NFT
dragosgd Nov 14, 2024
daf8a7b
Updated wCCD tutorial
Nov 15, 2024
09e4974
Removed trailing whitespace
Nov 15, 2024
9543414
Fixed page scaling in large screen
TinaKT Nov 19, 2024
54c353e
Merge branch 'main' into doc2
TinaKT Nov 19, 2024
70a8a8d
Fixed problem with sidebar resizing
TinaKT Nov 19, 2024
ab4bc73
Fixed problem with random text selection during rapid clicking of men…
TinaKT Nov 20, 2024
f2f6234
Fixed problem with horizontal menu and logo when scaling page
TinaKT Nov 20, 2024
98fadc0
Merge pull request #1124 from Concordium/doc2-tutorials-wCCD
dragosgd Nov 20, 2024
5f3bf0d
Removed unnecessary setup section, duplicate
Nov 21, 2024
482ea1d
Merge pull request #1126 from Concordium/doc2-tutorials-sftMinting
dragosgd Nov 22, 2024
e4b5742
Updated wrong refence, formatted commands
Nov 22, 2024
957a428
Format reference properly
Nov 22, 2024
5b9ca61
Merge pull request #1127 from Concordium/doc2-tutorials-eSealing
dragosgd Nov 22, 2024
cdf0063
Added more references, explanations and formatted commands
Nov 22, 2024
a14adec
Fix small typo
Nov 22, 2024
7dd78a2
Merge branch 'main' into doc2
TinaKT Nov 22, 2024
f1f6422
Update source/mainnet/tutorials/sponsoredTransactions/sponsoredTransa…
dragosgd Nov 22, 2024
3984ad9
Merge pull request #1128 from Concordium/doc2-tutorials-sponsoredTran…
dragosgd Nov 22, 2024
7151078
Remove nft markeplace tutorial and replace with low-code-nft
Nov 22, 2024
8dde738
Merge pull request #1129 from Concordium/tutorials-nft-markeplace
dragosgd Nov 22, 2024
642b3ee
Removed drop-down arrow without nested content in left-side menu
TinaKT Nov 22, 2024
e5f3696
Merge branch 'doc2' of github.com:Concordium/concordium.github.io int…
TinaKT Nov 22, 2024
300bc17
Fixed logo position and width on mobile
Nov 25, 2024
0b5e917
Merge pull request #1131 from Concordium/doc2-hotfix-logoOnMobile
TinaKT Nov 26, 2024
5252e60
Merge branch 'main' into doc2
TinaKT Nov 26, 2024
b61c4ae
Removed Breadcrumbs
Nov 26, 2024
a155b23
Merge pull request #1134 from Concordium/remove-breadcrumbs
dragosgd Nov 26, 2024
3f3ecd1
Modified Run a validator articles according to review
Nov 27, 2024
cf15a77
Update source/mainnet/conf.py
dragosgd Nov 28, 2024
3d08949
Update source/mainnet/docs/guides/account-activities-lp.rst
dragosgd Nov 28, 2024
56b4401
Update source/mainnet/tools/index.rst
dragosgd Nov 28, 2024
59041a7
Update source/mainnet/tools/index.rst
dragosgd Nov 28, 2024
3e90c23
Update source/mainnet/docs/help-and-faq/faqs.rst
dragosgd Nov 28, 2024
1ba7dd7
Update source/mainnet/docs/help-and-faq/faqs.rst
dragosgd Nov 28, 2024
fc2c468
Update source/mainnet/docs/help-and-faq/onboarding-guide-solana-devel…
dragosgd Nov 28, 2024
97890eb
Update source/mainnet/docs/help-and-faq/set-up-doc-env-MacOs.rst
dragosgd Nov 28, 2024
8221be7
Update source/mainnet/docs/help-and-faq/set-up-doc-env-MacOs.rst
dragosgd Nov 28, 2024
6de27b8
Update source/mainnet/docs/network/guides/validation-with-wallets.rst
dragosgd Nov 28, 2024
0d8a55c
Merge branch 'doc2' into doc2-validationArticles
dragosgd Nov 28, 2024
92f7ef8
Update source/mainnet/docs/network/nodes/run-node-ubuntu.rst
dragosgd Nov 28, 2024
35e5b20
Update source/mainnet/docs/network/nodes/troubleshoot-docker.rst
dragosgd Nov 28, 2024
02baaed
Update source/mainnet/docs/smart-contracts/guides/build-contract.rst
dragosgd Nov 28, 2024
632aeaa
Merge branch 'main' into doc2
TinaKT Nov 28, 2024
d29555a
Merge branch 'doc2' of github.com:Concordium/concordium.github.io int…
TinaKT Nov 28, 2024
4406e3b
Merge pull request #1141 from Concordium/doc2-validationArticles
it09 Nov 29, 2024
244a5ff
Fixed build and removed old references
Nov 29, 2024
b2189ec
Merge pull request #1146 from Concordium/doc2-hotfix-build
dragosgd Nov 29, 2024
d103b71
Fixed small typo
Nov 29, 2024
8607a79
Merge pull request #1147 from Concordium/doc2-fix-typo
dragosgd Nov 29, 2024
ca5bd79
Reviewed and updated Validator management article
Dec 2, 2024
1710812
Corrected l. 516 in conf.py
TinaKT Dec 2, 2024
d8aac10
Update source/mainnet/docs/network/baker-pool.rst
dragosgd Dec 2, 2024
0f14ca5
Removed <and> as per suggestion
Dec 2, 2024
e4b1817
Merge pull request #1150 from Concordium/doc2-validator-management
dragosgd Dec 2, 2024
d57e53b
Fix lint
Dec 2, 2024
e4d717a
Merge pull request #1151 from Concordium/doc2-validator-management
dragosgd Dec 2, 2024
7a29e9d
Removed redundant files leftover from old structure
Dec 3, 2024
ca95adc
Merge pull request #1152 from Concordium/doc2-removeRedundantFiles
dragosgd Dec 3, 2024
8288d1b
Removed unused files and folder containing them
Dec 3, 2024
526a26b
Merge pull request #1153 from Concordium/doc2-removeUnusedFiles
dragosgd Dec 3, 2024
b0b4756
Deleted four empty pages
TinaKT Dec 3, 2024
ea8935e
Deleted reference
TinaKT Dec 3, 2024
2ac5d3c
Deleted reference
TinaKT Dec 3, 2024
9f7833b
Remove reference to deleted empty article
Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
234 changes: 234 additions & 0 deletions source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
/* Custom styling for the Pydata Sphinx Theme */
dragosgd marked this conversation as resolved.
Show resolved Hide resolved
/* See https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/styling.html. */

html {
/*****************************************************************************
* Font features used in this theme
*/

/* base font size - applied at body/html level */
--pst-font-size-base: 1rem;

/* heading font sizes based on a medium contrast type scale */
/* - see: https://github.com/Quansight-Labs/czi-scientific-python-mgmt/issues/97#issuecomment-2310531483 */
--pst-font-size-h1: 2.625rem;
--pst-font-size-h2: 2.125rem;
--pst-font-size-h3: 1.75rem;
--pst-font-size-h4: 1.5rem;
--pst-font-size-h5: 1.25rem;
--pst-font-size-h6: 1rem;

/* smaller than heading font sizes */
--pst-font-size-milli: 0.9rem;

/* Sidebar styles */
--pst-sidebar-font-size: 0.9rem;
--pst-sidebar-font-size-mobile: 1.1rem;
--pst-sidebar-header-font-size: 1.2rem;
--pst-sidebar-header-font-weight: 600;

/* Admonition styles */
--pst-admonition-font-weight-heading: 600;

/* Font weights */
--pst-font-weight-caption: 300;
--pst-font-weight-heading: 600;

/* Font family */
/* These are adapted from https://systemfontstack.com/ */
--pst-font-family-base-system: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
--pst-font-family-monospace-system: 'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', Courier, monospace;
--pst-font-family-base: var(--pst-font-family-base-system);
--pst-font-family-heading: var(--pst-font-family-base-system);
--pst-font-family-monospace: var(--pst-font-family-monospace-system);


/*****************************************************************************
* Colors
**/

/* specified with RGB or hexcodes */
--pst-color-primary: #48A2AE;
--pst-color-primary-text: #333333;
--pst-color-secondary: #052535;
--pst-color-link: #48A2AE;
--pst-color-link-hover: #48A2AE;
--pst-color-inline-code: 178, 34, 34;
--pst-color-sidebar-link-hover: #48A2AE;
--pst-color-toc-link-hover: #48A2AE;
--pst-color-toc-link-active: #48A2AE;
--pst-color-headerlink: #48A2AE;
--pst-color-headerlink-hover: #48A2AE;
--bg-color: #ffffff;
--heading-color: #333333;
--font-color: #333333;

/*****************************************************************************
* Admonitions
**/

--pst-icon-admonition-default: var(--pst-icon-bell);
--pst-icon-admonition-note: var(--pst-icon-info-circle);
--pst-icon-admonition-attention: var(--pst-icon-exclamation-circle);
--pst-icon-admonition-caution: var(--pst-icon-exclamation-triangle);
--pst-icon-admonition-warning: var(--pst-icon-exclamation-triangle);
--pst-icon-admonition-danger: var(--pst-icon-exclamation-triangle);
--pst-icon-admonition-error: var(--pst-icon-times-circle);
--pst-icon-admonition-hint: var(--pst-icon-lightbulb);
--pst-icon-admonition-tip: var(--pst-icon-lightbulb);
--pst-icon-admonition-important: var(--pst-icon-exclamation-circle);
--pst-icon-admonition-seealso: var(--pst-icon-share);
--pst-icon-admonition-todo: var(--pst-icon-pencil);
}




/* Consent dialog */
.consent {
position: fixed;
right: 0;
bottom: 0;
max-width: 530px;
padding: 30px 45px 25px;
background: linear-gradient(157deg, #005A78 -18.68%, #2E8894 95.63%);
color: #fff;
}
.consent p {
margin-bottom: 0.5em;
color: #fff;
font-size: 14px;
font-weight: 300;
}
.consent button {
padding-left: 1em;
padding-right: 1em;
margin-left: .5em;
margin-right: .5em;
background-color: #48A2AE;
border-radius: 12px;
border-width: 0;
color: #fff;
}
.consent a:link {
margin-left: .5em;
color: #ffffff;
}
.consent a:visited {
color: lightgrey;
}
.consent a:hover {
color: lightgrey;
}
.consent a:active {
color: #d9d9d9;
}

.bd-links__title {
display: none !important;
}

/* Tutorial page styling */
.tutorial-section {
background-color: #edf2f7; /* Slightly darker background */
padding: 25px 25px 25px 40px !important; /* top right bottom left - more padding on left */
margin: 20px 0;
border-radius: 8px;
border: 1px solid #cbd5e0; /* More visible border */
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
/* Blue container */
.tutorial-section-blue {
background-color: #edf2f7 !important;
border: 1px solid #cbd5e0 !important;
}

/* Green container */
.tutorial-section-green {
background-color: #f0fdf4 !important; /* Light green */
border: 1px solid #dcfce7 !important;
}

/* Purple container */
.tutorial-section-purple {
background-color: #faf5ff !important; /* Light purple */
border: 1px solid #f3e8ff !important;
}
/* Yellow container */
.tutorial-section-yellow {
background-color: #fefce8 !important; /* Light yellow */
border: 1px solid #fef9c3 !important;
}
/* Main layout fixes - these were working well */
.bd-container__inner.bd-page-width {
max-width: none;
width: 100%;
}

.bd-main .bd-content {
max-width: none;
padding: 0 3rem;
}

.three-columns {
display: grid;
grid-template-columns: repeat(3, minmax(300px, 1fr));
gap: 2.5rem;
margin-top: 3rem;
margin-bottom: 2rem;
}
/* Sidebar max width */
.bd-sidebar-primary {
min-width: 250px;
max-width: 20%;
flex: 0 0 auto;
}
/* Prevent text selection in sidebar navigation */
.bd-sidebar-primary .bd-links .bd-links__item,
.bd-sidebar-primary .bd-links .bd-links__item *,
.bd-sidebar-primary .current,
.bd-sidebar-primary .toctree-l1,
.bd-sidebar-primary .toctree-l2,
.bd-sidebar-primary .reference.internal,
.bd-sidebar-primary .nav-link {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
/* Logo positioning */
.navbar-header-items__start {
position: relative;
left: 0;
padding-left: 1rem;
z-index: 1; /* Reduced z-index */
background: white;
max-width: 167px; /* Match logo's natural width*/
}

/* Menu positioning */
.navbar-header-items:not(.navbar-header-items__start) {
margin-left: 200px;
position: relative;
z-index: 2; /* Higher than logo */
background: white;
}

img.logo {
max-height: 35px;
width: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
.navbar-header-items__start{
max-width: 120px; /* Smaller width on mobile */
margin-left: 3rem; /* Make space for menu button */
}

img.logo{
width: 100%;
height: auto;
}
}
Empty file.
2 changes: 0 additions & 2 deletions source/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
{# Adds extra headers to the template, such as custom styling #}
{% block extrahead %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,700;1,400;1,700&family=IBM+Plex+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" />

{% endblock %}

{% block footer %}
{% include "sidenav.html" %}
{% include "copyright.html" %}
{% include "footer.html" %}
{% include "analytics.html" %}
Expand Down
71 changes: 0 additions & 71 deletions source/_templates/navbar-menu.html

This file was deleted.

17 changes: 0 additions & 17 deletions source/_templates/sidenav.html

This file was deleted.

2 changes: 1 addition & 1 deletion source/academy/custom-errors.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:orphan:

.. include:: ../mainnet/smart-contracts/guides/custom-errors.rst
.. include:: ../mainnet/docs/smart-contracts/guides/custom-errors.rst

.. include:: ../mainnet/variables.rst
2 changes: 1 addition & 1 deletion source/academy/tutorials/counter-contract.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.. include:: ../../mainnet/smart-contracts/tutorials/counter/counter-contract.rst
.. include:: ../../mainnet/tutorials/counter/counter-contract.rst
.. include:: ../../mainnet/variables.rst
Loading
Loading