Skip to content

Commit

Permalink
build based on 1f8a562
Browse files Browse the repository at this point in the history
  • Loading branch information
bvdmitri authored and Documenter.jl committed Jan 23, 2025
1 parent 65e127a commit 2dc4d5c
Show file tree
Hide file tree
Showing 355 changed files with 27,681 additions and 1,963 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.7","generation_timestamp":"2025-01-14T14:49:57","documenter_version":"1.8.0"}}
{"documenter":{"julia_version":"1.10.8","generation_timestamp":"2025-01-23T13:55:14","documenter_version":"1.8.0"}}
46 changes: 46 additions & 0 deletions dev/assets/chat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// In docs/src/assets/chat-widget.js
document.addEventListener('DOMContentLoaded', function() {
// Create and append the search widget
const searchWidget = document.createElement('gen-search-widget');
searchWidget.setAttribute('configId', '1bea2ada-cbee-4d63-9154-6e68f77e8aa0');
searchWidget.setAttribute('triggerId', 'searchWidgetTrigger');
document.body.appendChild(searchWidget);

// Find the docs search query element
const docsSearchQuery = document.getElementById('documenter-search-query');
if (docsSearchQuery) {
// Create container for AI search
const aiSearchContainer = document.createElement('div');
aiSearchContainer.style.cssText = `
width: 14.4rem;
`;
aiSearchContainer.classList.add('mx-auto');

// Add "or" text
const orText = document.createElement('div');
orText.textContent = 'or';
orText.style.cssText = `
text-align: center;
color: #666;
font-size: 0.9em;
`;

aiSearchContainer.appendChild(orText);

// Create and append the trigger input
const searchTrigger = document.createElement('input');
searchTrigger.setAttribute('placeholder', 'Search with Gemini');
searchTrigger.setAttribute('id', 'searchWidgetTrigger');
searchTrigger.classList.add('docs-search-query','input','is-rounded','is-small','is-clickable','my-2','py-1','px-2');

aiSearchContainer.appendChild(searchTrigger);
docsSearchQuery.parentNode.insertBefore(aiSearchContainer, docsSearchQuery.nextSibling);


}

// Load the Google Gen AI SDK
const script = document.createElement('script');
script.src = 'https://cloud.google.com/ai/gen-app-builder/client?hl=en_US';
document.head.appendChild(script);
});
Binary file added dev/assets/ld-rxinfer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions dev/contributing/examples/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/contributing/guide/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/contributing/guidelines/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/contributing/new-documentation/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/contributing/new-example/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/contributing/new-release/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/examples/overview/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dev/googlef2b9004e34bc8cf4.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-site-verification: googlef2b9004e34bc8cf4.html
4 changes: 2 additions & 2 deletions dev/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/library/bethe-free-energy/index.html

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions dev/library/exported-methods/index.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dev/library/functional-forms/index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dev/library/model-construction/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/manuals/comparison/index.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dev/manuals/constraints-specification/index.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions dev/manuals/customization/custom-node/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/manuals/customization/postprocess/index.html

Large diffs are not rendered by default.

48 changes: 0 additions & 48 deletions dev/manuals/debugging/22239708.svg

This file was deleted.

48 changes: 48 additions & 0 deletions dev/manuals/debugging/8c52f418.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions dev/manuals/debugging/add514d9.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 31 additions & 31 deletions dev/manuals/debugging/index.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
196 changes: 98 additions & 98 deletions dev/manuals/getting-started/index.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions dev/manuals/inference/autoupdates/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/manuals/inference/delta-node/index.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
396 changes: 396 additions & 0 deletions dev/manuals/inference/initialization/b405ae4a.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
396 changes: 0 additions & 396 deletions dev/manuals/inference/initialization/c96cd002.svg

This file was deleted.

10 changes: 5 additions & 5 deletions dev/manuals/inference/initialization/index.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions dev/manuals/inference/nonconjugate/aa7e036c.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions dev/manuals/inference/nonconjugate/index.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dev/manuals/inference/overview/index.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 84 additions & 0 deletions dev/manuals/inference/static/a6a3efb8.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions dev/manuals/inference/static/index.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions dev/manuals/inference/streamlined/index.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions dev/manuals/inference/undefinedrules/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/manuals/meta-specification/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/manuals/migration-guide-v2-v3/index.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

298 changes: 149 additions & 149 deletions dev/manuals/model-specification/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/manuals/sharpbits/overview/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/manuals/sharpbits/rule-not-found/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/manuals/sharpbits/stack-overflow-inference/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/manuals/sharpbits/usage-colon-equality/index.html

Large diffs are not rendered by default.

Binary file modified dev/manuals/tmp.png
Binary file modified dev/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion stable
2 changes: 1 addition & 1 deletion v3
1 change: 1 addition & 0 deletions v3.10
1 change: 1 addition & 0 deletions v3.10.0/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"documenter":{"julia_version":"1.10.7","generation_timestamp":"2025-01-22T18:32:43","documenter_version":"1.8.0"}}
55 changes: 55 additions & 0 deletions v3.10.0/assets/biglogo-blacktheme.svg
1 change: 1 addition & 0 deletions v3.10.0/assets/biglogo.svg
92 changes: 92 additions & 0 deletions v3.10.0/assets/chat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
// In docs/src/assets/chat-widget.js
document.addEventListener('DOMContentLoaded', function() {
const messenger = document.createElement('df-messenger');
messenger.setAttribute('project-id', 'synthetic-shape-442012-s9');
messenger.setAttribute('agent-id', '94fb46c1-e089-404f-8e0f-4478927e5755');
messenger.setAttribute('language-code', 'en');
messenger.setAttribute('max-query-length', '-1');

const chatBubble = document.createElement('df-messenger-chat-bubble');
chatBubble.setAttribute('chat-title', 'RxInfer Documentation Chatbot');
chatBubble.setAttribute('chat-subtitle', `
Ask questions about RxInfer Documentation
`);
chatBubble.setAttribute('chat-title-icon', 'https://reactivebayes.github.io/RxInfer.jl/stable/assets/ld-rxinfer.png');
messenger.appendChild(chatBubble);

document.body.appendChild(messenger);

const desiredWidth = 720;

// Function to update chat window width
const updateChatWidth = () => {
const maxWidth = desiredWidth;
const padding = 32; // 16px padding on each side
const availableWidth = Math.min(window.innerWidth - padding, maxWidth);

style.textContent = `
df-messenger {
z-index: 999;
position: fixed;
bottom: 16px;
right: 16px;
--df-messenger-font-family: 'PT Mono', system-ui, -apple-system, sans-serif;
--df-messenger-primary-color: rgb(22, 87, 152);
--df-messenger-focus-color: rgb(22, 87, 152);
--df-messenger-chat-window-width: ${availableWidth}px;
--df-messenger-chat-window-offset: 64px;
--df-messenger-titlebar-icon-width: 64px;
--df-messenger-titlebar-icon-height: 64px;
--df-messenger-titlebar-icon-padding: 0 24px 0 0;
}
`;
};

// Add styles using documented properties
const style = document.createElement('style');
updateChatWidth(); // Initial width setting
document.head.appendChild(style);

// Update width on window resize
window.addEventListener('resize', updateChatWidth);

// Wait for custom element to be defined
customElements.whenDefined('df-messenger').then(() => {
setTimeout(() => {
const chatWrapper = chatBubble.shadowRoot?.querySelector('.chat-wrapper');
console.log(chatWrapper);
if (chatWrapper) {
const footer = document.createElement('div');
const updateFooterWidth = () => {
const maxWidth = desiredWidth;
const padding = 32;
const availableWidth = Math.min(window.innerWidth - padding, maxWidth);
footer.style.cssText = `
font-size: 11px;
color: #6B7280;
background: #ffffff;
width: ${availableWidth + 2}px;
border-radius: 0 0 4px 4px;
`;
};

updateFooterWidth(); // Initial footer width
window.addEventListener('resize', updateFooterWidth);

const footerText = document.createElement('div');
footerText.style.cssText = `
padding: 8px 16px;
line-height: 1.4;
`;
footerText.innerHTML = `
Responses are automatically generated and may not be accurate.
Please <a href="https://github.com/ReactiveBayes/RxInfer.jl/issues" target="_blank" style="color: rgb(22, 87, 152); text-decoration: none;">open an issue</a> if you find any inaccuracies.
Powered by Gemini.
Sponsored by <a href="https://lazydynamics.com" target="_blank" style="color: rgb(22, 87, 152); text-decoration: none;">Lazy Dynamics</a>.
`;
footer.appendChild(footerText);
chatWrapper.appendChild(footer);
}
}, 10);
});
});
Loading

0 comments on commit 2dc4d5c

Please sign in to comment.