Skip to content

Commit 2176bce

Browse files
authored
DOCSP-30020: Ruby landing page (#878)
* DOCSP-30020: create Ruby landing pg * clickable landing page in nav * changes * CC suggestions * remove s
1 parent 3f52a34 commit 2176bce

File tree

3 files changed

+42
-4
lines changed

3 files changed

+42
-4
lines changed

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "drivers"
22
title = "MongoDB Drivers"
33

4-
toc_landing_pages = ["/python", "/php", "/java-drivers", "/use-cases"]
4+
toc_landing_pages = ["/python", "/php", "/java-drivers", "/use-cases", "/ruby"]
55

66
intersphinx = ["https://www.mongodb.com/docs/manual/objects.inv"]
77
sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"

source/index.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ security patches to them.
6868

6969
.. card::
7070
:headline: Ruby
71-
:url: https://www.mongodb.com/docs/ruby-driver/current/
71+
:url: /ruby/
7272
:icon: /figures/icons/ruby.svg
7373
:icon-alt: Ruby Driver icon
7474

@@ -148,8 +148,7 @@ Don’t see your desired language? Browse more `community-supported libraries <h
148148
Node.js Driver <https://www.mongodb.com/docs/drivers/node/current/>
149149
PHP Driver </php>
150150
Python Drivers </python>
151-
Ruby Driver <https://www.mongodb.com/docs/ruby-driver/current/>
152-
Ruby Mongoid ODM <https://www.mongodb.com/docs/mongoid/current/>
151+
Ruby Drivers </ruby>
153152
Rust Driver </rust>
154153
Scala Driver </scala>
155154
Swift Driver </swift>

source/ruby.txt

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.. _ruby-language-center:
2+
3+
===================
4+
MongoDB Ruby Driver
5+
===================
6+
7+
.. toctree::
8+
:titlesonly:
9+
10+
Ruby Driver <https://www.mongodb.com/docs/ruby-driver/current/>
11+
Ruby Mongoid ODM <https://www.mongodb.com/docs/mongoid/current/>
12+
13+
.. contents:: On this page
14+
:local:
15+
:backlinks: none
16+
:depth: 1
17+
:class: singlecol
18+
19+
Introduction
20+
------------
21+
22+
Welcome to the documentation site for the official MongoDB Ruby
23+
driver and the Mongoid Object Document Mapper (ODM).
24+
25+
Ruby Driver
26+
-----------
27+
28+
You can add the driver to your application to work with MongoDB in
29+
Ruby. See the :ruby:`official Ruby reference documentation <>` to
30+
learn how to install and begin using the driver.
31+
32+
Object Document Mapper
33+
----------------------
34+
35+
You can use Mongoid, the official MongoDB Ruby ODM, to streamline
36+
validation, associations, and high-level data modeling functions in your
37+
application. See the `Mongoid reference documentation
38+
<https://www.mongodb.com/docs/mongoid/current/>`__ to learn how to begin
39+
using Mongoid.

0 commit comments

Comments
 (0)