-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e4caf6
commit 589bbf9
Showing
6 changed files
with
31 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
def setup(app): | ||
app.add_js_file('js/warn-about-latest.js') | ||
|
||
return { | ||
'version': '0.1', | ||
'parallel_read_safe': True, | ||
'parallel_write_safe': True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
(function() { | ||
// add if latest or dev (root) | ||
if (!window.location.pathname.includes('/stable/')) { | ||
var warning = document.createElement('DIV'); | ||
warning.className = 'note latest'; | ||
warning.innerHTML = '<b>Note</b> You are viewing the <i>latest version</i> of the docs. This means some documented features may not be available in the version you are using. You can view the <a href="/en/stable/">stable version instead </a> or make sure you are running the <a href="https://github.com/eth-sri/lmql#installing-the-latest-development-version">latest LMQL version.</a>'; | ||
warning.classList.add('sy-alert', 'sy-alert--warning'); | ||
document.querySelector('article[role=main]').prepend(warning); | ||
} | ||
} | ||
)(); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,4 +137,3 @@ To learn more about LMQL, select one of the following sections or navigate the d | |
Discord <https://discord.gg/7eJP4fcyNT> | ||
GitHub Issues <https://github.com/eth-sri/lmql/issues> | ||
E-Mail <mailto:[email protected]> | ||
|