Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alanjfs committed Aug 2, 2023
1 parent 8ad79b8 commit 565cbc5
Show file tree
Hide file tree
Showing 23 changed files with 13,416 additions and 494 deletions.
4 changes: 2 additions & 2 deletions download/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2503,7 +2503,7 @@ <h2 id="faq">FAQ</h2>
</details>
<p><br></p>
<h2 id="limitations">Limitations</h2>
<p>As of <code>Ragdoll 2023.06.09-blender34-macOS.Intel</code> these are the current known limitations of Ragdoll.</p>
<p>As of <code>Ragdoll 2023.04.01</code> these are the current known limitations of Ragdoll.</p>
<ul>
<li>No known limitations as of 2022.02.20</li>
</ul>
Expand All @@ -2515,7 +2515,7 @@ <h2 id="limitations">Limitations</h2>
<div class="md-source-date">
<small>

Last update: 2023-05-08
Last update: 2023-06-20

</small>
</div>
Expand Down
168 changes: 107 additions & 61 deletions extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -533,67 +533,6 @@ nav.md-nav.md-nav--primary {
padding: 0.8rem;
}

div.tabs {
padding-left: 1px;
}

div.tabs button.active {
color: #1f1f1f;
position: relative;
border-bottom: 6px solid steelblue;
}

div.tabs button {
outline: none;
cursor: pointer;
position: relative;
color: #6363635e;
border: none;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
margin: 6px 14px 7px 0px;
transition: 0.2s;
font-size: 0.7rem;
}

.tab-content {
background: white;
display: none;
padding: 0;
border: none;
}

.md-typeset .tab-content .codehilitetable .linenos {
display: none;
}

.md-typeset .tab-content .codehilitetable {
margin: 0;
}

button.tab p {
padding: 0;
margin: 0;
letter-spacing: 0.1rem;
}

button.tab div.tab-gap {
position: absolute;
width: 100%;
height: 3px;
bottom: -2px;
margin: 0;
padding: 0;
background: #ffffff;
z-index: 5;
left: 0;
display: none;
}

button.tab.active div.tab-gap {
display: block;
}

[data-md-color-primary] .md-typeset a.button {
font-family: "Roboto", Corbel, Avenir, "Lucida Grande", "Lucida Sans", sans-serif;
max-width: 400px;
Expand Down Expand Up @@ -925,6 +864,113 @@ div.tabs button.active p {
opacity: 1;
}

/* Maya & Blender tabs */

div.tabs {
padding-left: 1px;
}

div.tabs button.active {
color: #1f1f1f;
position: relative;
border-bottom: 6px solid steelblue;
font-weight: bold;
}

div.tabs button {
outline: none;
cursor: pointer;
position: relative;
color: #6363635e;
border: none;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
margin: 6px 15px 0px 0px;
transition: 0.2s;
font-size: 0.7rem;
}

.tab-content {
background: white;
display: none;
padding: 0;
border: none;
}

.md-typeset .tab-content .codehilitetable .linenos {
display: none;
}

.md-typeset .tab-content .codehilitetable {
margin: 0;
}

button.tab p {
padding: 0;
margin: 0;
letter-spacing: 0.1rem;
}

button.tab div.tab-gap {
position: absolute;
width: 100%;
height: 3px;
bottom: -2px;
margin: 0;
padding: 0;
background: #ffffff;
z-index: 5;
left: 0;
display: none;
}

button.tab.active div.tab-gap {
display: block;
}

div.tabs button.active p {
text-shadow: none;
}

div.software-choice {
border: 1px solid #d9d9d9;
padding: 3px;
box-shadow: 0px 0px 17px #c7dbff;
border-left: 4px solid #7dbaff;
}

div.tab.software-option.active {
background: #cae8ff;
border: 1px solid #a6cbe8;
font-weight: bold;
}

div.tab.software-option {
padding: 8px;
font-size: 0.7rem;
}

div.tab.software-option.disabled {
color: #b9b9b9;
}

.tab.software-option.active:hover {
background: #acd7f8;
}

.tab.software-option:hover {
background: #f2f9ff;
}

/* Hide the browser's default radio button */
.tab input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}

@media only screen and (max-width: 60em) {
.hboxlayout {
flex-direction: column;
Expand Down
37 changes: 37 additions & 0 deletions extra.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
window.addEventListener("load", function () {

// Assume Maya if no choice has yet been made
if (window.localStorage.getItem("RagdollHost1") == null) {
window.localStorage.setItem("RagdollHost1", "maya");
}

setTab(null, window.localStorage.getItem("RagdollHost1"));

}, false );

/* Utility function */
function hasClass(element, cls) {
return (' ' + element.className + ' ').indexOf(' ' + cls + ' ') > -1;
}

/* Called when the user clicks any tabbed element */
function setTab(event, tabName) {

// Remember choice until next page visit
window.localStorage.setItem("RagdollHost1", tabName);

var i, tabcontent, tabs;

// Get all elements with class="tab-content" and hide them
tabcontent = document.getElementsByClassName("tab-content");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = hasClass(tabcontent[i], tabName) ? "block" : "none";
}

// Get all elements with class="tab" and remove the class "active"
tabs = document.getElementsByClassName("tab");
for (i = 0; i < tabs.length; i++) {
tabs[i].className = tabs[i].className.replace(" active", "");
tabs[i].className += hasClass(tabs[i], tabName) ? " active" : ""
}
}
4 changes: 2 additions & 2 deletions floating-licence/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2838,7 +2838,7 @@ <h3 id="what-if-i-have-multiple-serial-numbers">What if I have multiple serial n
<span class="nv">RAGDOLL_FLOATING</span><span class="o">=</span><span class="m">10</span>.0.0.4:601

<span class="c1"># Artist workstations</span>
<span class="nv">RAGDOLL_FLOATING</span><span class="o">=</span><span class="m">10</span>.0.0.4:602
<span class="nv">RAGDOLL_FLOATING</span><span class="o">=</span><span class="m">10</span>.0.0.5:601
</code></pre></div>
<p><br></p>
<h3 id="can-i-disable-the-splash-screen">Can I disable the splash screen?</h3>
Expand Down Expand Up @@ -2951,7 +2951,7 @@ <h3 id="how-do-i-run-my-server-in-the-background-using-systemd">How do I run my
<div class="md-source-date">
<small>

Last update: 2023-06-05
Last update: 2023-07-25

</small>
</div>
Expand Down
12 changes: 12 additions & 0 deletions menu/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2393,6 +2393,10 @@ <h2 id="overview">Overview</h2>
<td align="left">Generate new Maya scene from .rag file</td>
</tr>
<tr>
<td align="left"><nobr><img class="invertme icon" width=20 src=/icons/physics.png> Update Physics</nobr></td>
<td align="left">Update changed physics parameters and add new Markers to existing Maya scene</td>
</tr>
<tr>
<td align="left"><nobr><img class="invertme icon" width=20 src=/icons/bake.png> Bake Mesh</nobr></td>
<td align="left">Store geometry inside of the Marker, disconnecting it from its source mesh.</td>
</tr>
Expand Down Expand Up @@ -2657,6 +2661,14 @@ <h2 id="overview">Overview</h2>
<td align="left">Select all solvers in the scene.</td>
</tr>
<tr>
<td align="left"><nobr><img class="invertme icon" width=20 src=/icons/marker.png> Markers from Assigned</nobr></td>
<td align="left">Select all Markers assigned to the current selection</td>
</tr>
<tr>
<td align="left"><nobr><img class="invertme icon" width=20 src=/icons/source.png> Assigned from Markers</nobr></td>
<td align="left">Select assigned nodes from currently selected Markers</td>
</tr>
<tr>
<td align="left"><nobr><img class="invertme icon" width=20 src=/icons/lollipop.png> Create Lollipop</nobr></td>
<td align="left">Create a new lollipop for the selected marker.</td>
</tr>
Expand Down
Loading

0 comments on commit 565cbc5

Please sign in to comment.