Skip to content

Commit

Permalink
Redirect to mr-manuels documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-manuel committed Nov 26, 2024
1 parent 346cd79 commit 3f48385
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/general/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar_position: 1

<!-- redirect to new documentation -->
<head>
<!--<meta http-equiv="refresh" content="1; url=https://mr-manuel.github.io/venus-os_dbus-serialbattery_docs/" />-->
<meta http-equiv="refresh" content="1; url=https://mr-manuel.github.io/venus-os_dbus-serialbattery_docs/" />
<link rel="canonical" href="https://mr-manuel.github.io/venus-os_dbus-serialbattery_docs/" />
</head>

Expand Down
2 changes: 1 addition & 1 deletion docs/static/redirect.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function redirect(){
// redirect to new documentation
if(window.location.pathname !== '/dbus-serialbattery/' && window.origin !== 'http://localhost:3000') {
if(window.origin !== 'http://localhost:3000') {

var url = window.location.href;

Expand Down

0 comments on commit 3f48385

Please sign in to comment.