Skip to content

Commit 5c57ccd

Browse files
committed
fix: don't include in build draft pages
1 parent 1273624 commit 5c57ccd

File tree

11 files changed

+46
-66
lines changed

11 files changed

+46
-66
lines changed

docs/.vitepress/config.mts

Lines changed: 37 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ const rawSidebar: SidebarItem[] = [
194194
"text": "⛓️ Supported chains",
195195
"link": "smart-contracts/supported-chains.md"
196196
},
197-
{
198-
"text": "🧩 Integration Models",
199-
"link": "smart-contracts/integration-models.md"
200-
},
197+
// {
198+
// "text": "🧩 Integration Models",
199+
// "link": "smart-contracts/integration-models.md"
200+
// },
201201
{
202202
"text": "🔮 Wit/Oracle",
203203
"link": "smart-contracts/witnet-web-oracle/index.md",
@@ -538,29 +538,29 @@ const rawSidebar: SidebarItem[] = [
538538
"text": "🧙 Solidity Wizard",
539539
"link": "smart-contracts/guides/solidity-wizard.md"
540540
},
541-
{
542-
"text": "✒️ Radon Scripting",
543-
"link": "smart-contracts/guides/radon-scripting.md"
544-
},
545-
{
546-
"text": "🛠️ Witnet Toolkit",
547-
"link": "smart-contracts/guides/witnet-toolkit/index.md",
548-
collapsed: true,
549-
"items": [
550-
{
551-
"text": "Blockchain info",
552-
"link": "smart-contracts/guides/witnet-toolkit/blockchain-info.md"
553-
},
554-
{
555-
"text": "Tracking data requests",
556-
"link": "smart-contracts/guides/witnet-toolkit/tracking-data-requests.md"
557-
},
558-
{
559-
"text": "Sending transactions",
560-
"link": "smart-contracts/guides/witnet-toolkit/sending-transactions.md"
561-
}
562-
]
563-
}
541+
// {
542+
// "text": "✒️ Radon Scripting",
543+
// "link": "smart-contracts/guides/radon-scripting.md"
544+
// },
545+
// {
546+
// "text": "🛠️ Witnet Toolkit",
547+
// "link": "smart-contracts/guides/witnet-toolkit/index.md",
548+
// collapsed: true,
549+
// "items": [
550+
// {
551+
// "text": "Blockchain info",
552+
// "link": "smart-contracts/guides/witnet-toolkit/blockchain-info.md"
553+
// },
554+
// {
555+
// "text": "Tracking data requests",
556+
// "link": "smart-contracts/guides/witnet-toolkit/tracking-data-requests.md"
557+
// },
558+
// {
559+
// "text": "Sending transactions",
560+
// "link": "smart-contracts/guides/witnet-toolkit/sending-transactions.md"
561+
// }
562+
// ]
563+
// }
564564
]
565565
},
566566
{
@@ -823,5 +823,14 @@ export default {
823823
search: {
824824
provider: 'local'
825825
}
826-
}
826+
},
827+
srcExclude: [
828+
'**/witnet-the-oracle-making-physical-infrastructure-trustless-and-verifiable.md',
829+
'**/radon-scripting.md',
830+
'**/smart-contracts/guides/witnet-toolkit/**',
831+
'**/smart-contracts-developers-v2/**',
832+
'**/smart-contracts/guides/witnet-toolkit/**',
833+
'**/manage-radon-assets.md',
834+
'**/wit-kermit-rest-api.md'
835+
]
827836
}

docs/intro/tutorials/randomness.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,14 +245,13 @@ $ npx witeth randomness [--target <addr>] --randomize
245245

246246
***
247247

248-
### Learn more about Witnet Randomness
248+
<!-- ### Learn more about Witnet Randomness
249249
250250
For more information on how to interact with `WitRandomness` contracts, please go to:
251251
252-
<!-- TODO: replace with custom component inner button -->
253252
[wit-randomness](../../smart-contracts-developers-v2/wit-randomness/)
254253
255254
::: tip
256255
👆 Check the comprehensive documentation and API reference for `WitRandomness` contracts. You will find numerous examples and guides on deriving multiple random numbers from a single seed, and details on setting up your own randomization infrastructure to eliminate reliance on third-party providers.
257-
:::
256+
::: -->
258257

docs/intro/why-witnet-rocks/witnet-the-oracle-making-physical-infrastructure-trustless-and-verifiable.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
---
2-
draft: true
3-
---
4-
51
# Witnet: The Oracle Making Physical Infrastructure Trustless and Verifiable
62

73
[<mark style="background-color:purple;">**DePIN**</mark>](#user-content-fn-1)[^1] <mark style="background-color:purple;">projects live or die by the reliability and verifiability of real-world data.</mark> Whether you’re coordinating sensors, devices, hardware operators, bandwidth providers, geolocation proofs, or energy contributors, you need an oracle that can’t be gamed, censored, or controlled by a central actor. **That’s where Witnet stands apart.**
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
---
2-
draft: true
3-
---
4-
51
# SMART CONTRACTS DEVELOPERS V2
62

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
---
2-
draft: true
3-
---
4-
51
# ✒️ Radon Scripting
62

docs/smart-contracts/guides/solidity-contracts/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 📖 Solidity Contracts
22

3-
From a Solidity contract developer's point of view, this Guide describes the interfaces, events, data structures and enums to be aware of when trying to exploit any of the public-domain [appliances](appliances/) built on top of the [Witnet Solidity Bridge framework](../../../smart-contracts-developers-v2/wit-oracle/building-data-requests.md), build your own custom data feeds, or interact at a lower level with other [core artifacts](core/) of the framework.
3+
From a Solidity contract developer's point of view, this Guide describes the interfaces, events, data structures and enums to be aware of when trying to exploit any of the public-domain [appliances](appliances/) built on top of the Witnet Solidity Bridge framework, build your own custom data feeds, or interact at a lower level with other [core artifacts](core/) of the framework.
44

55
::: tip
66
All described artifacts herewith, as well as the special implementations adapted to the intricacies of some of the supported EVM-compatible chains, can be found as an open-source public repository on [**Github**](https://github.com/witnet/witnet-solidity-bridge), as published by the **Witnet Foundation**.

docs/smart-contracts/guides/solidity-wizard.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 🧙 Solidity Wizard
22

3-
The [**Witnet Solidity SDK**](../../smart-contracts-developers-v2/wit-oracle/parameterized-templates.md) package bundles the _**Solidity Wizard**_ tool that will ease the path when trying to programmatically interact with the **Wit/Oracle blockchain** from your own smart contracts.
3+
The **Witnet Solidity SDK** package bundles the _**Solidity Wizard**_ tool that will ease the path when trying to programmatically interact with the **Wit/Oracle blockchain** from your own smart contracts.
44

55
By answering a series of questions, and based on your actual needs, the _**Solidity Wizard**_ will create a customized Solidity contract that inherently implements multiple helper methods for either posting data queries to the Wit/Oracle blockchain, estimating minimum required fees, or checking current status of previously posted queries.
66

@@ -27,7 +27,7 @@ Now, depending on whether you wish to rely on the [_**WitOracle**_](solidity-con
2727

2828
### Run the Solidity Wizard
2929

30-
First, install the [**Witnet Solidity SDK package**](../../smart-contracts-developers-v2/wit-oracle/parameterized-templates.md) into your project, if not done yet:
30+
First, install the **Witnet Solidity SDK package** into your project, if not done yet:
3131

3232
```bash
3333
$ npm install --save-dev witnet-solidity
@@ -48,7 +48,8 @@ If willing to fetch data from a selection of data sources on the Internet, you w
4848

4949
These artifacts contain all required information for the Wit/oracle blockchain to know where to extract and transform data from. They also describe how to aggregate data when extracted from multiple sources, and how to reduce values revealed by the multiple witnessing nodes on the Wit/oracle blockchain.
5050

51-
Building, testing and deploying [_WitnetRequest_](solidity-contracts/core/witnetrequest.md) and [_WitnetRequestTemplate_](solidity-contracts/core/witnetrequesttemplate.md) artifacts can be easily done by using the [**Radon Scripting toolkit**](radon-scripting.md)[.](../../smart-contracts-developers-v2/wit-oracle/parameterized-templates.md)
51+
Building, testing and deploying [_WitnetRequest_](solidity-contracts/core/witnetrequest.md) and [_WitnetRequestTemplate_](solidity-contracts/core/witnetrequesttemplate.md) artifacts can be easily done by using the **Radon Scripting toolkit**
52+
<!-- (/smart-contracts/guides/radon-scripting.md)[.](../../smart-contracts-developers-v2/wit-oracle/parameterized-templates.md) -->
5253

5354
### Querying data from the Wit/Oracle
5455

@@ -117,7 +118,8 @@ Two internal methods can be used for this:
117118

118119
### Decoding data query results
119120

120-
Decoding can be easily done in Solidity. You will find different helper methods depending on whether you opted for reading query results from the [_WitnetOracle_](solidity-contracts/core/witnetoracle.md) storage, or getting query results directly delivered to your smart contract. Please, have a look to [**Decoding results guide**](../../smart-contracts-developers-v2/wit-oracle/decoding-results.md) as to learn how to decode query successful results, and query resolution errors as well.
121+
Decoding can be easily done in Solidity. You will find different helper methods depending on whether you opted for reading query results from the [_WitnetOracle_](solidity-contracts/core/witnetoracle.md) storage, or getting query results directly delivered to your smart contract.
122+
<!-- Please, have a look to [**Decoding results guide**](../../smart-contracts-developers-v2/wit-oracle/decoding-results.md) as to learn how to decode query successful results, and query resolution errors as well. -->
121123

122124
### Tesing contracts produced by the Solidity Wizard
123125

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
---
2-
draft: true
3-
---
4-
51
# 🛠️ Witnet Toolkit
62

docs/smart-contracts/integration-models.md

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
---
2-
draft: true
3-
---
4-
51
# Manage Radon assets
62

0 commit comments

Comments
 (0)