Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ title = "Mostro protocol"
[output.html]
git-repository-url = "https://github.com/MostroP2P/protocol"
edit-url-template = "https://github.com/MostroP2P/protocol/edit/main/{path}"

additional-css = ["theme/custom.css"]

[output.html.fold]
enable = true
level = 0
78 changes: 45 additions & 33 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,48 @@
# Summary

[Home](./overview.md)

---

- [Keys management](./key_management.md)
- [Creating a Sell order](./new_sell_order.md)
- [Creating a Sell range order](./new_sell_range_order.md)
- [Creating a Buy order](./new_buy_order.md)
- [Creating a Buy order with a LN address](./new_buy_order_ln_address.md)
- [List orders](./list_orders.md)
- [Request order details](./orders.md)
- [Take sell order](./take_sell.md)
- [Take sell order with a LN address](./take_sell_ln_address.md)
- [Take range sell order](./take_sell_range_order.md)
- [Take buy order](./take_buy.md)
- [Take range buy order](./take_buy_range_order.md)
- [Seller pays hold invoice](./seller_pay_hold_invoice.md)
- [Fiat sent](./fiatsent.md)
- [Release](./release.md)
- [Rate user](./user_rating.md)
- [Cancel](./cancel.md)
- [Peer-to-peer Chat](./chat.md)
- [Dispute](./dispute.md)
- [Dispute Chat](./dispute_chat.md)
- [List disputes](./list_disputes.md)
- [Admin Settle order](./admin_settle_order.md)
- [Admin Cancel order](./admin_cancel_order.md)
- [Admin Add Solver](./admin_add_solver.md)
- [Restore session](./restore_session.md)
- [Last Trade Index](./last_trade_index.md)
- [Actions](./actions.md)
- [Introduction]()
- [Overview](./overview.md)
- [Keys management](./key_management.md)

- [Orders]()
- [Creating a Sell order](./new_sell_order.md)
- [Creating a Sell range order](./new_sell_range_order.md)
- [Creating a Buy order](./new_buy_order.md)
- [Creating a Buy order with a LN address](./new_buy_order_ln_address.md)
- [List orders](./list_orders.md)
- [Request order details](./orders.md)
- [Cancel](./cancel.md)

- [Trading]()
- [Take sell order](./take_sell.md)
- [Take sell order with a LN address](./take_sell_ln_address.md)
- [Take range sell order](./take_sell_range_order.md)
- [Take buy order](./take_buy.md)
- [Take range buy order](./take_buy_range_order.md)
- [Seller pays hold invoice](./seller_pay_hold_invoice.md)
- [Fiat sent](./fiatsent.md)
- [Release](./release.md)
- [Rate user](./user_rating.md)

- [Disputes]()
- [Dispute](./dispute.md)
- [Dispute Chat](./dispute_chat.md)
- [List disputes](./list_disputes.md)

- [Communication]()
- [Peer-to-peer Chat](./chat.md)

- [Admin Operations]()
- [Admin Settle order](./admin_settle_order.md)
- [Admin Cancel order](./admin_cancel_order.md)
- [Admin Add Solver](./admin_add_solver.md)

- [Session Management]()
- [Restore session](./restore_session.md)
- [Last Trade Index](./last_trade_index.md)

- [Protocol Reference]()
- [Actions](./actions.md)
- [Message suggestions for actions](./message_suggestions_for_actions.md)
- [P2P Order event. NIP-69](./order_event.md)
- [Other events published by Mostro](./other_events.md)
- [P2P Order event. NIP-69](./order_event.md)
- [Other events published by Mostro](./other_events.md)
22 changes: 22 additions & 0 deletions theme/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* Fix section title colors for better readability */

/* Main section titles (Introduction, Orders, Trading, etc.) */
.sidebar ol.chapter > li > a {
color: #ffffff !important;
font-weight: 600 !important;
}

.sidebar ol.chapter > li > div {
color: #ffffff !important;
font-weight: 600 !important;
}

/* Expandable section parent items */
.sidebar .chapter li.chapter-item > a {
color: #e2e8f0 !important;
}

/* Part titles */
.sidebar .chapter li.part-title {
color: #ffffff !important;
}