Skip to content

Commit

Permalink
Merge pull request #63 from eslam-gomaa/feat/document-new-kptop-funct…
Browse files Browse the repository at this point in the history
…ionalities

refactor KPtop docs
  • Loading branch information
eslam-gomaa authored Jun 30, 2024
2 parents ac6b346 + d684622 commit 621a8c2
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/commands/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: default
nav_order: 2
nav_order: 3
# permalink: /
# parent: Home
permalink: /commands
title: Custom Commands Docs
title: Custom Commands
markdown: Kramdown
has_children: true
kramdown:
Expand Down
4 changes: 2 additions & 2 deletions docs/dashboards/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: default
nav_order: 1
nav_order: 2
# permalink: /
# parent: Home
permalink: /dashboards
title: Custom Dashboards Docs
title: Custom Dashboards
markdown: Kramdown
has_children: true
kramdown:
Expand Down
42 changes: 42 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
layout: default
nav_order: 1
# permalink: /
# parent: Home
permalink: /installation
title: Installation
markdown: Kramdown
has_children: false
kramdown:
parse_block_html: true
auto_ids: true
syntax_highlighter: coderay
---

<button class="btn js-toggle-dark-mode">Switch to Dark Mode

<script>
const toggleDarkMode = document.querySelector('.js-toggle-dark-mode');

jtd.addEvent(toggleDarkMode, 'click', function(){
if (jtd.getTheme() === 'dark') {
jtd.setTheme('light');
toggleDarkMode.textContent = 'Switch to Dark Mode';
} else {
jtd.setTheme('dark');
toggleDarkMode.textContent = 'Switch to Light Mode';
}
});
</script>

# Install KPtop
{: .fs-9 }


> Compatible with Python 3.6+
[on PyPi](https://pypi.org/project/kptop)

```bash
pip3 install kptop --upgrade
```

0 comments on commit 621a8c2

Please sign in to comment.