add legacy banner

This commit is contained in:
Bagatur
2024-10-22 10:42:57 -07:00
parent 4a812e3193
commit 4725dfc644
2 changed files with 16 additions and 0 deletions

View File

@@ -24,3 +24,16 @@ table.longtable code {
table.longtable td {
max-width: 600px;
}
.banner {
background-color: #f0f0f0;
color: #333;
padding: 10px;
text-align: center;
font-weight: bold;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
}

View File

@@ -43,6 +43,9 @@
<script id="documentation_options" data-url_root="{{ pathto('', 1) }}"
src="{{ pathto('_static/documentation_options.js', 1) }}"></script>
<script src="{{ pathto('_static/jquery.js', 1) }}"></script>
<div class="banner">
<p>This is the legacy API reference. Please see the latest <a href="https://python.langchain.com/v0.2/api_reference/reference.html">v0.2</a> and <a href="https://python.langchain.com/api_reference/">v0.3</a> API reference build here.</p>
</div>
{%- block extrahead %} {% endblock %}
</head>
<body>