Skip to content

Commit

Permalink
Merge pull request #917 from zirreal/robonomics-wiki-test
Browse files Browse the repository at this point in the history
updated readme file + removed edit-wiki page
  • Loading branch information
zirreal authored Dec 11, 2024
2 parents e17ac5c + a55a4c7 commit 871db22
Show file tree
Hide file tree
Showing 28 changed files with 568 additions and 8,017 deletions.
567 changes: 556 additions & 11 deletions README.md

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions src/_data/sidebar_docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,6 @@
"title": "How to send extrinsic from ESP",
"url": "/docs/esp32-datalog-demo"
},
{
"title": "How to Edit Wiki",
"url": "/docs/edit-wiki"
},
{
"title": "How to Contribute",
"url": "/docs/contributing"
Expand Down
5 changes: 0 additions & 5 deletions src/_includes/footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@
</div>
<div class="footer__links">
<ul class="footer__list">
<li class="footer__item">
<a class="footer__link" href="{{'/docs/edit-wiki/' if page.lang == 'en' else '/' + page.lang + '/docs/edit-wiki/'}}">
{{'How to edit Wiki' | t}}
</a>
</li>
<li class="footer__item">
<a class="footer__link" href="{{'/privacy-policy/' if page.lang == 'en' else '/' + page.lang + '/privacy-policy/'}}">
{{'Privacy Policy' | t}}
Expand Down
2 changes: 1 addition & 1 deletion src/ar/docs/docs.11tydata.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default {
// Example: Only render pages inside the "docs/production-only" directory in production
return `/ar/docs/${ data.page.fileSlug }/index.html`;
} else {
if (data.page && data.page.inputPath.includes('/docs/edit-wiki')) {
if (data.page && data.page.inputPath.includes('/docs/robonomics-smart-home-overview')) {
return `/ar/docs/${ data.page.fileSlug }/index.html`;
} else {
return false; // Skip rendering these pages in non-production environments
Expand Down
614 changes: 0 additions & 614 deletions src/ar/docs/edit-wiki.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/de/docs/docs.11tydata.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default {
// Example: Only render pages inside the "docs/production-only" directory in production
return `/de/docs/${ data.page.fileSlug }/index.html`;
} else {
if (data.page && data.page.inputPath.includes('/docs/edit-wiki')) {
if (data.page && data.page.inputPath.includes('/docs/robonomics-smart-home-overview')) {
return `/de/docs/${ data.page.fileSlug }/index.html`;
} else {
return false; // Skip rendering these pages in non-production environments
Expand Down
Loading

0 comments on commit 871db22

Please sign in to comment.