From 6f9a45f35efcd83307796131709abcff3aaa8120 Mon Sep 17 00:00:00 2001 From: Sebastian Guaqueta Date: Wed, 18 Dec 2024 14:58:40 -0500 Subject: [PATCH] test/changing only integrate section --- .github/workflows/devportal-update.yml | 309 +++++++++++++------------ README.md | 2 +- 2 files changed, 157 insertions(+), 154 deletions(-) diff --git a/.github/workflows/devportal-update.yml b/.github/workflows/devportal-update.yml index d4948763..dabbc8ee 100644 --- a/.github/workflows/devportal-update.yml +++ b/.github/workflows/devportal-update.yml @@ -61,6 +61,9 @@ jobs: # Process integrations section TEMP_FILE="temp_integrate.md" TRANSFORMED_FILE="transformed/integrate.md" + echo "new temp file name is ${TEMP_FILE}" + echo "new transformed file name is ${TRANSFORMED_FILE}" + # Remove the unwanted first lines from section (title) tail -n +1 docs/integrate.md > ${TEMP_FILE} echo "---" > ${TRANSFORMED_FILE} @@ -76,167 +79,167 @@ jobs: rm ${TEMP_FILE} cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/integrate.md - # Process setup section - TEMP_FILE="temp_installation-requirements.md" - TRANSFORMED_FILE="transformed/installation-requirements.md" - # Remove the unwanted first lines from section (title) - tail -n +1 docs/installation-requirements.md > ${TEMP_FILE} - echo "---" > ${TRANSFORMED_FILE} - echo "sidebar_label: Setup" >> ${TRANSFORMED_FILE} - echo "sidebar_position: 300" >> ${TRANSFORMED_FILE} - echo "title: RIF Relay Installation Requirements >> ${TRANSFORMED_FILE} - echo "description: 'Requirements for installing RIF Relay.'" >> ${TRANSFORMED_FILE} - echo "tags: [rif, envelope, relay, user, guide]" >> ${TRANSFORMED_FILE} - echo "---" >> ${TRANSFORMED_FILE} - echo "" >> ${TRANSFORMED_FILE} - cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} - # Clean up temporary file - rm ${TEMP_FILE} - cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/installation-requirements.md + # # Process setup section + # TEMP_FILE="temp_installation-requirements.md" + # TRANSFORMED_FILE="transformed/installation-requirements.md" + # # Remove the unwanted first lines from section (title) + # tail -n +1 docs/installation-requirements.md > ${TEMP_FILE} + # echo "---" > ${TRANSFORMED_FILE} + # echo "sidebar_label: Setup" >> ${TRANSFORMED_FILE} + # echo "sidebar_position: 300" >> ${TRANSFORMED_FILE} + # echo "title: RIF Relay Installation Requirements >> ${TRANSFORMED_FILE} + # echo "description: 'Requirements for installing RIF Relay.'" >> ${TRANSFORMED_FILE} + # echo "tags: [rif, envelope, relay, user, guide]" >> ${TRANSFORMED_FILE} + # echo "---" >> ${TRANSFORMED_FILE} + # echo "" >> ${TRANSFORMED_FILE} + # cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} + # # Clean up temporary file + # rm ${TEMP_FILE} + # cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/installation-requirements.md - # Process sample dapp section - TEMP_FILE="temp_sample-dapp.md" - TRANSFORMED_FILE="transformed/sample-dapp.md" - # Remove the unwanted first lines from section (title) - tail -n +1 docs/sample-dapp.md > ${TEMP_FILE} - echo "---" > ${TRANSFORMED_FILE} - echo "sidebar_label: RIF Relay Sample dApp" >> ${TRANSFORMED_FILE} - echo "sidebar_position: 400" >> ${TRANSFORMED_FILE} - echo "title: How to use the RIF Relay Sample dApp SDK >> ${TRANSFORMED_FILE} - echo "description: 'RIF Relay Sample dApp SDK Starter kit.'" >> ${TRANSFORMED_FILE} - echo "tags: [rif, envelope, relay, integration guide]" >> ${TRANSFORMED_FILE} - echo "---" >> ${TRANSFORMED_FILE} - echo "" >> ${TRANSFORMED_FILE} - cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} - # Clean up temporary file - rm ${TEMP_FILE} - cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/sample-dapp.md + # # Process sample dapp section + # TEMP_FILE="temp_sample-dapp.md" + # TRANSFORMED_FILE="transformed/sample-dapp.md" + # # Remove the unwanted first lines from section (title) + # tail -n +1 docs/sample-dapp.md > ${TEMP_FILE} + # echo "---" > ${TRANSFORMED_FILE} + # echo "sidebar_label: RIF Relay Sample dApp" >> ${TRANSFORMED_FILE} + # echo "sidebar_position: 400" >> ${TRANSFORMED_FILE} + # echo "title: How to use the RIF Relay Sample dApp SDK >> ${TRANSFORMED_FILE} + # echo "description: 'RIF Relay Sample dApp SDK Starter kit.'" >> ${TRANSFORMED_FILE} + # echo "tags: [rif, envelope, relay, integration guide]" >> ${TRANSFORMED_FILE} + # echo "---" >> ${TRANSFORMED_FILE} + # echo "" >> ${TRANSFORMED_FILE} + # cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} + # # Clean up temporary file + # rm ${TEMP_FILE} + # cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/sample-dapp.md - # Process deployment section - TEMP_FILE="temp_deployment.md" - TRANSFORMED_FILE="transformed/deployment.md" - # Remove the unwanted first lines from section (title) - tail -n +1 docs/deployment.md > ${TEMP_FILE} - echo "---" > ${TRANSFORMED_FILE} - echo "sidebar_label: RIF Relay Deployment" >> ${TRANSFORMED_FILE} - echo "sidebar_position: 500" >> ${TRANSFORMED_FILE} - echo "title: RIF Relay Deployment >> ${TRANSFORMED_FILE} - echo "description: 'RIF Relay deployment process.'" >> ${TRANSFORMED_FILE} - echo "tags: [rif, envelope, relay, integration guide]" >> ${TRANSFORMED_FILE} - echo "---" >> ${TRANSFORMED_FILE} - echo "" >> ${TRANSFORMED_FILE} - cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} - # Clean up temporary file - rm ${TEMP_FILE} - cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/deployment.md + # # Process deployment section + # TEMP_FILE="temp_deployment.md" + # TRANSFORMED_FILE="transformed/deployment.md" + # # Remove the unwanted first lines from section (title) + # tail -n +1 docs/deployment.md > ${TEMP_FILE} + # echo "---" > ${TRANSFORMED_FILE} + # echo "sidebar_label: RIF Relay Deployment" >> ${TRANSFORMED_FILE} + # echo "sidebar_position: 500" >> ${TRANSFORMED_FILE} + # echo "title: RIF Relay Deployment >> ${TRANSFORMED_FILE} + # echo "description: 'RIF Relay deployment process.'" >> ${TRANSFORMED_FILE} + # echo "tags: [rif, envelope, relay, integration guide]" >> ${TRANSFORMED_FILE} + # echo "---" >> ${TRANSFORMED_FILE} + # echo "" >> ${TRANSFORMED_FILE} + # cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} + # # Clean up temporary file + # rm ${TEMP_FILE} + # cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/deployment.md - # Process develop section - TEMP_FILE="temp_develop.md" - TRANSFORMED_FILE="transformed/develop.md" - # Remove the unwanted first lines from section (title) - tail -n +1 docs/develop.md > ${TEMP_FILE} - echo "---" > ${TRANSFORMED_FILE} - echo "sidebar_label: Develop" >> ${TRANSFORMED_FILE} - echo "sidebar_position: 600" >> ${TRANSFORMED_FILE} - echo "title: RIF Relay Develop >> ${TRANSFORMED_FILE} - echo "description: 'RIF Relay deployment process.'" >> ${TRANSFORMED_FILE} - echo "tags: [rif, envelope, relay, user, guide]" >> ${TRANSFORMED_FILE} - echo "---" >> ${TRANSFORMED_FILE} - echo "" >> ${TRANSFORMED_FILE} - cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} - # Clean up temporary file - rm ${TEMP_FILE} - cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/develop.md + # # Process develop section + # TEMP_FILE="temp_develop.md" + # TRANSFORMED_FILE="transformed/develop.md" + # # Remove the unwanted first lines from section (title) + # tail -n +1 docs/develop.md > ${TEMP_FILE} + # echo "---" > ${TRANSFORMED_FILE} + # echo "sidebar_label: Develop" >> ${TRANSFORMED_FILE} + # echo "sidebar_position: 600" >> ${TRANSFORMED_FILE} + # echo "title: RIF Relay Develop >> ${TRANSFORMED_FILE} + # echo "description: 'RIF Relay deployment process.'" >> ${TRANSFORMED_FILE} + # echo "tags: [rif, envelope, relay, user, guide]" >> ${TRANSFORMED_FILE} + # echo "---" >> ${TRANSFORMED_FILE} + # echo "" >> ${TRANSFORMED_FILE} + # cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} + # # Clean up temporary file + # rm ${TEMP_FILE} + # cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/develop.md - # Process contracts section - TEMP_FILE="temp_contracts.md" - TRANSFORMED_FILE="transformed/contracts.md" - # Remove the unwanted first lines from section (title) - tail -n +1 docs/contracts.md > ${TEMP_FILE} - echo "---" > ${TRANSFORMED_FILE} - echo "sidebar_label: Contracts" >> ${TRANSFORMED_FILE} - echo "sidebar_position: 700" >> ${TRANSFORMED_FILE} - echo "title: RIF Relay - Contracts >> ${TRANSFORMED_FILE} - echo "description: 'RIF Relay Contracts.'" >> ${TRANSFORMED_FILE} - echo "tags: [rif, envelope, relay, integrate]" >> ${TRANSFORMED_FILE} - echo "---" >> ${TRANSFORMED_FILE} - echo "" >> ${TRANSFORMED_FILE} - cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} - # Clean up temporary file - rm ${TEMP_FILE} - cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/contracts.md + # # Process contracts section + # TEMP_FILE="temp_contracts.md" + # TRANSFORMED_FILE="transformed/contracts.md" + # # Remove the unwanted first lines from section (title) + # tail -n +1 docs/contracts.md > ${TEMP_FILE} + # echo "---" > ${TRANSFORMED_FILE} + # echo "sidebar_label: Contracts" >> ${TRANSFORMED_FILE} + # echo "sidebar_position: 700" >> ${TRANSFORMED_FILE} + # echo "title: RIF Relay - Contracts >> ${TRANSFORMED_FILE} + # echo "description: 'RIF Relay Contracts.'" >> ${TRANSFORMED_FILE} + # echo "tags: [rif, envelope, relay, integrate]" >> ${TRANSFORMED_FILE} + # echo "---" >> ${TRANSFORMED_FILE} + # echo "" >> ${TRANSFORMED_FILE} + # cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} + # # Clean up temporary file + # rm ${TEMP_FILE} + # cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/contracts.md - # Process smart wallets section - TEMP_FILE="temp_smart-wallets.md" - TRANSFORMED_FILE="transformed/smart-wallets.md" - # Remove the unwanted first lines from section (title) - tail -n +1 docs/smart-wallets.md > ${TEMP_FILE} - echo "---" > ${TRANSFORMED_FILE} - echo "sidebar_label: Smart Wallets" >> ${TRANSFORMED_FILE} - echo "sidebar_position: 800" >> ${TRANSFORMED_FILE} - echo "title: RIF Relay Smart Wallets >> ${TRANSFORMED_FILE} - echo "description: 'RIF Relay Smart Wallets.'" >> ${TRANSFORMED_FILE} - echo "tags: [rif, envelope, relay, user, guide]" >> ${TRANSFORMED_FILE} - echo "---" >> ${TRANSFORMED_FILE} - echo "" >> ${TRANSFORMED_FILE} - cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} - # Clean up temporary file - rm ${TEMP_FILE} - cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/smart-wallets.md + # # Process smart wallets section + # TEMP_FILE="temp_smart-wallets.md" + # TRANSFORMED_FILE="transformed/smart-wallets.md" + # # Remove the unwanted first lines from section (title) + # tail -n +1 docs/smart-wallets.md > ${TEMP_FILE} + # echo "---" > ${TRANSFORMED_FILE} + # echo "sidebar_label: Smart Wallets" >> ${TRANSFORMED_FILE} + # echo "sidebar_position: 800" >> ${TRANSFORMED_FILE} + # echo "title: RIF Relay Smart Wallets >> ${TRANSFORMED_FILE} + # echo "description: 'RIF Relay Smart Wallets.'" >> ${TRANSFORMED_FILE} + # echo "tags: [rif, envelope, relay, user, guide]" >> ${TRANSFORMED_FILE} + # echo "---" >> ${TRANSFORMED_FILE} + # echo "" >> ${TRANSFORMED_FILE} + # cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} + # # Clean up temporary file + # rm ${TEMP_FILE} + # cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/smart-wallets.md - # Process versions section - TEMP_FILE="temp_versions.md" - TRANSFORMED_FILE="transformed/versions.md" - # Remove the unwanted first lines from section (title) - tail -n +1 docs/versions.md > ${TEMP_FILE} - echo "---" > ${TRANSFORMED_FILE} - echo "sidebar_label: Versions" >> ${TRANSFORMED_FILE} - echo "sidebar_position: 900" >> ${TRANSFORMED_FILE} - echo "title: RIF Relay Versions >> ${TRANSFORMED_FILE} - echo "description: 'RIF Relay Versions.'" >> ${TRANSFORMED_FILE} - echo "tags: [rif, envelope, rif relay, integration guide]" >> ${TRANSFORMED_FILE} - echo "---" >> ${TRANSFORMED_FILE} - echo "" >> ${TRANSFORMED_FILE} - cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} - # Clean up temporary file - rm ${TEMP_FILE} - cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/versions.md + # # Process versions section + # TEMP_FILE="temp_versions.md" + # TRANSFORMED_FILE="transformed/versions.md" + # # Remove the unwanted first lines from section (title) + # tail -n +1 docs/versions.md > ${TEMP_FILE} + # echo "---" > ${TRANSFORMED_FILE} + # echo "sidebar_label: Versions" >> ${TRANSFORMED_FILE} + # echo "sidebar_position: 900" >> ${TRANSFORMED_FILE} + # echo "title: RIF Relay Versions >> ${TRANSFORMED_FILE} + # echo "description: 'RIF Relay Versions.'" >> ${TRANSFORMED_FILE} + # echo "tags: [rif, envelope, rif relay, integration guide]" >> ${TRANSFORMED_FILE} + # echo "---" >> ${TRANSFORMED_FILE} + # echo "" >> ${TRANSFORMED_FILE} + # cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} + # # Clean up temporary file + # rm ${TEMP_FILE} + # cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/versions.md - # Process gas costs section - TEMP_FILE="temp_gas-costs.md" - TRANSFORMED_FILE="transformed/gas-costs.md" - # Remove the unwanted first lines from section (title) - tail -n +1 docs/gas-costs.md > ${TEMP_FILE} - echo "---" > ${TRANSFORMED_FILE} - echo "sidebar_label: Gas Costs" >> ${TRANSFORMED_FILE} - echo "sidebar_position: 950" >> ${TRANSFORMED_FILE} - echo "title: RIF Relay - Gas Costs >> ${TRANSFORMED_FILE} - echo "description: 'RIF Relay Gas Costs.'" >> ${TRANSFORMED_FILE} - echo "tags: [rif, envelope, relay, integrate]" >> ${TRANSFORMED_FILE} - echo "---" >> ${TRANSFORMED_FILE} - echo "" >> ${TRANSFORMED_FILE} - cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} - # Clean up temporary file - rm ${TEMP_FILE} - cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/gas-costs.md + # # Process gas costs section + # TEMP_FILE="temp_gas-costs.md" + # TRANSFORMED_FILE="transformed/gas-costs.md" + # # Remove the unwanted first lines from section (title) + # tail -n +1 docs/gas-costs.md > ${TEMP_FILE} + # echo "---" > ${TRANSFORMED_FILE} + # echo "sidebar_label: Gas Costs" >> ${TRANSFORMED_FILE} + # echo "sidebar_position: 950" >> ${TRANSFORMED_FILE} + # echo "title: RIF Relay - Gas Costs >> ${TRANSFORMED_FILE} + # echo "description: 'RIF Relay Gas Costs.'" >> ${TRANSFORMED_FILE} + # echo "tags: [rif, envelope, relay, integrate]" >> ${TRANSFORMED_FILE} + # echo "---" >> ${TRANSFORMED_FILE} + # echo "" >> ${TRANSFORMED_FILE} + # cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} + # # Clean up temporary file + # rm ${TEMP_FILE} + # cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/gas-costs.md - # Process architecture section - TEMP_FILE="temp_architecture.md" - TRANSFORMED_FILE="transformed/architecture.md" - # Remove the unwanted first lines from section (title) - tail -n +1 docs/architecture.md > ${TEMP_FILE} - echo "---" > ${TRANSFORMED_FILE} - echo "sidebar_label: Architecture" >> ${TRANSFORMED_FILE} - echo "sidebar_position: 980" >> ${TRANSFORMED_FILE} - echo "title: RIF Relay - Architecture >> ${TRANSFORMED_FILE} - echo "description: 'RIF Relay Architeture.'" >> ${TRANSFORMED_FILE} - echo "tags: [rif, envelope, relay, integrate]" >> ${TRANSFORMED_FILE} - echo "---" >> ${TRANSFORMED_FILE} - echo "" >> ${TRANSFORMED_FILE} - cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} - # Clean up temporary file - rm ${TEMP_FILE} - cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/architecture.md + # # Process architecture section + # TEMP_FILE="temp_architecture.md" + # TRANSFORMED_FILE="transformed/architecture.md" + # # Remove the unwanted first lines from section (title) + # tail -n +1 docs/architecture.md > ${TEMP_FILE} + # echo "---" > ${TRANSFORMED_FILE} + # echo "sidebar_label: Architecture" >> ${TRANSFORMED_FILE} + # echo "sidebar_position: 980" >> ${TRANSFORMED_FILE} + # echo "title: RIF Relay - Architecture >> ${TRANSFORMED_FILE} + # echo "description: 'RIF Relay Architeture.'" >> ${TRANSFORMED_FILE} + # echo "tags: [rif, envelope, relay, integrate]" >> ${TRANSFORMED_FILE} + # echo "---" >> ${TRANSFORMED_FILE} + # echo "" >> ${TRANSFORMED_FILE} + # cat ${TEMP_FILE} >> ${TRANSFORMED_FILE} + # # Clean up temporary file + # rm ${TEMP_FILE} + # cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/architecture.md # Step 3: Commit and Push Changes to Devportal Repository - name: Commit and Push Changes diff --git a/README.md b/README.md index 81f1169f..516e38e8 100644 --- a/README.md +++ b/README.md @@ -42,4 +42,4 @@ Each module has instructions for development and usage. * Please refer to the Rootstock Contribution Guidelines for more information on how to contribute to this project. ## License: -MIT License - Copyright (c) 2023 Rootstock \ No newline at end of file +MIT License - Copyright (c) 2023 Rootstock