├── .gitignore ├── .mci.yml ├── README.rst ├── bin ├── sitemap_gen.py └── spec_converter.py ├── data ├── atlas-open-service-broker-published-branches.yaml ├── bi-connector-published-branches.yaml ├── build_config.yaml ├── changelog.yaml ├── charts-published-branches.yaml ├── compass-published-branches.yaml ├── deploy.yaml ├── guides-published-branches.yaml ├── kafka-connector-published-branches.yaml ├── kubernetes-operator-published-branches.yaml ├── manual-published-branches.yaml ├── mms-published-branches.yaml ├── mongocli-published-branches.yaml ├── mongoid-published-branches.yaml ├── node-driver-published-branches.yaml ├── php-library-published-branches.yaml ├── realm-published-branches.yaml ├── ruby-driver-published-branches.yaml ├── spark-connector-published-branches.yaml ├── stitch-published-branches.yaml └── test-matrix.yaml ├── giza ├── README.rst ├── docs │ ├── .gitignore │ ├── conf.py │ ├── config │ │ ├── build_conf.yaml │ │ ├── integration.yaml │ │ ├── intersphinx.yaml │ │ ├── pdfs.yaml │ │ ├── push.yaml │ │ ├── sphinx.yaml │ │ └── sphinx_local.yaml │ ├── makefile │ └── source │ │ ├── .static │ │ ├── osd.xml │ │ └── sitemap.xml │ │ ├── api.txt │ │ ├── api │ │ ├── content │ │ │ ├── assets.txt │ │ │ ├── dependencies.txt │ │ │ ├── examples.txt │ │ │ ├── examples │ │ │ │ ├── inheritance.txt │ │ │ │ ├── models.txt │ │ │ │ ├── tasks.txt │ │ │ │ └── views.txt │ │ │ ├── hash.txt │ │ │ ├── helper.txt │ │ │ ├── images.txt │ │ │ ├── includes.txt │ │ │ ├── intersphinx.txt │ │ │ ├── links.txt │ │ │ ├── options.txt │ │ │ ├── param.txt │ │ │ ├── post │ │ │ │ ├── archives.txt │ │ │ │ ├── gettext.txt │ │ │ │ ├── json_output.txt │ │ │ │ ├── latex.txt │ │ │ │ ├── manpages.txt │ │ │ │ ├── singlehtml.txt │ │ │ │ ├── sites.txt │ │ │ │ └── slides.txt │ │ │ ├── redirects.txt │ │ │ ├── release.txt │ │ │ ├── robots.txt │ │ │ ├── source.txt │ │ │ ├── sphinx.txt │ │ │ ├── steps.txt │ │ │ ├── steps │ │ │ │ ├── inheritance.txt │ │ │ │ ├── models.txt │ │ │ │ ├── tasks.txt │ │ │ │ └── views.txt │ │ │ ├── table.txt │ │ │ ├── tocs.txt │ │ │ └── tocs │ │ │ │ ├── inheritance.txt │ │ │ │ ├── models.txt │ │ │ │ ├── tasks.txt │ │ │ │ └── views.txt │ │ ├── core │ │ │ ├── app.txt │ │ │ └── task.txt │ │ ├── nav │ │ │ ├── config.txt │ │ │ ├── content-post.txt │ │ │ ├── content.txt │ │ │ ├── core.txt │ │ │ ├── operations.txt │ │ │ ├── tools.txt │ │ │ └── translate.txt │ │ ├── operations │ │ │ ├── clean.txt │ │ │ ├── configuration.txt │ │ │ ├── deploy.txt │ │ │ ├── generate.txt │ │ │ ├── git.txt │ │ │ ├── http_serve.txt │ │ │ ├── includes.txt │ │ │ ├── make.txt │ │ │ ├── packaging.txt │ │ │ ├── quickstart.txt │ │ │ ├── sphinx_cmds.txt │ │ │ ├── translate.txt │ │ │ └── tx.txt │ │ ├── tools │ │ │ └── command.txt │ │ └── translate │ │ │ ├── corpora.txt │ │ │ ├── model.txt │ │ │ ├── model_results.txt │ │ │ ├── translation.txt │ │ │ └── utils.txt │ │ ├── core.txt │ │ ├── core │ │ ├── build-process.txt │ │ ├── coding-practices.txt │ │ ├── content-generation.txt │ │ ├── giza.txt │ │ └── parallelism.txt │ │ ├── index.txt │ │ ├── tutorial.txt │ │ └── tutorial │ │ ├── set-up-giza.txt │ │ └── use-giza.txt ├── giza │ ├── __init__.py │ ├── cmdline.py │ ├── config │ │ ├── __init__.py │ │ ├── assets.py │ │ ├── code_review.py │ │ ├── content.py │ │ ├── credentials.py │ │ ├── deploy.py │ │ ├── error.py │ │ ├── git.py │ │ ├── github.py │ │ ├── helper.py │ │ ├── images.py │ │ ├── intersphinx.py │ │ ├── jeerah.py │ │ ├── main.py │ │ ├── manpage.py │ │ ├── migrations.py │ │ ├── paths.py │ │ ├── pdfs.py │ │ ├── project.py │ │ ├── redirects.py │ │ ├── replacements.py │ │ ├── runtime.py │ │ ├── sphinx_config.py │ │ ├── sphinx_local.py │ │ ├── system.py │ │ ├── test.py │ │ └── version.py │ ├── content │ │ ├── __init__.py │ │ ├── apiargs │ │ │ ├── __init__.py │ │ │ ├── inheritance.py │ │ │ ├── models.py │ │ │ ├── tasks.py │ │ │ └── views.py │ │ ├── assets.py │ │ ├── changelog │ │ │ ├── __init__.py │ │ │ ├── tasks.py │ │ │ └── views.py │ │ ├── dependencies.py │ │ ├── examples │ │ │ ├── __init__.py │ │ │ ├── inheritance.py │ │ │ ├── models.py │ │ │ ├── tasks.py │ │ │ └── views.py │ │ ├── extract │ │ │ ├── __init__.py │ │ │ ├── inheritance.py │ │ │ ├── models.py │ │ │ ├── tasks.py │ │ │ └── views.py │ │ ├── glossary │ │ │ ├── __init__.py │ │ │ ├── inheritance.py │ │ │ ├── models.py │ │ │ ├── tasks.py │ │ │ └── views.py │ │ ├── hash.py │ │ ├── helper.py │ │ ├── images │ │ │ ├── __init__.py │ │ │ ├── tasks.py │ │ │ └── views.py │ │ ├── intersphinx.py │ │ ├── links.py │ │ ├── migrations.py │ │ ├── options │ │ │ ├── __init__.py │ │ │ ├── inheritance.py │ │ │ ├── models.py │ │ │ ├── tasks.py │ │ │ └── views.py │ │ ├── post │ │ │ ├── __init__.py │ │ │ ├── archives.py │ │ │ ├── gettext.py │ │ │ ├── json_output.py │ │ │ ├── latex.py │ │ │ ├── manpages.py │ │ │ ├── singlehtml.py │ │ │ ├── sites.py │ │ │ ├── slides.py │ │ │ └── sphinx.py │ │ ├── redirects.py │ │ ├── release │ │ │ ├── __init__.py │ │ │ ├── inheritance.py │ │ │ ├── models.py │ │ │ ├── tasks.py │ │ │ └── views.py │ │ ├── replacements.py │ │ ├── robots.py │ │ ├── source.py │ │ ├── sphinx.py │ │ ├── steps │ │ │ ├── __init__.py │ │ │ ├── inheritance.py │ │ │ ├── models.py │ │ │ ├── tasks.py │ │ │ └── views.py │ │ └── tocs │ │ │ ├── __init__.py │ │ │ ├── inheritance.py │ │ │ ├── models.py │ │ │ ├── tasks.py │ │ │ └── views.py │ ├── corp.py │ ├── deploy.py │ ├── github.py │ ├── includes.py │ ├── inheritance.py │ ├── jeerah │ │ ├── __init__.py │ │ ├── client.py │ │ └── query.py │ ├── libgiza │ │ ├── __init__.py │ │ ├── app.py │ │ ├── config.py │ │ ├── error.py │ │ ├── git.py │ │ ├── graph.py │ │ ├── inheritance.py │ │ ├── libgit.py │ │ ├── pool.py │ │ ├── task.py │ │ ├── test │ │ │ ├── __init__.py │ │ │ ├── data-inheritance │ │ │ │ ├── example-add-one.yaml │ │ │ │ ├── example-add-three.yaml │ │ │ │ └── example-add-two.yaml │ │ │ ├── test_app.py │ │ │ ├── test_config.py │ │ │ ├── test_error.py │ │ │ ├── test_inheritance.py │ │ │ ├── test_task.py │ │ │ └── test_typed_dict.py │ │ └── typed_dict.py │ ├── operations │ │ ├── __init__.py │ │ ├── build_env.py │ │ ├── changelog.py │ │ ├── clean.py │ │ ├── code_review.py │ │ ├── configuration.py │ │ ├── deploy.py │ │ ├── generate.py │ │ ├── git.py │ │ ├── includes.py │ │ ├── make.py │ │ ├── packaging.py │ │ ├── quickstart.py │ │ ├── sphinx_cmds.py │ │ ├── test.py │ │ └── tx.py │ ├── quickstart │ │ ├── .gitignore │ │ ├── conf.py │ │ ├── config │ │ │ ├── build_conf.yaml │ │ │ ├── integration.yaml │ │ │ ├── intersphinx.yaml │ │ │ ├── pdfs.yaml │ │ │ ├── push.yaml │ │ │ ├── sphinx.yaml │ │ │ └── sphinx_local.yaml │ │ ├── makefile │ │ └── source │ │ │ ├── .static │ │ │ └── .stub │ │ │ └── index.txt │ └── tools │ │ ├── __init__.py │ │ ├── colorformatter.py │ │ ├── files.py │ │ ├── timing.py │ │ └── transformation.py ├── makefile ├── requirements.txt ├── setup.py └── test │ ├── __init__.py │ ├── data │ ├── examples-one.yaml │ ├── examples-two.yaml │ ├── extracts-one.yaml │ ├── extracts-two.yaml │ ├── options-one.yaml │ ├── options-two.yaml │ ├── release-one.yaml │ ├── release-two.yaml │ ├── steps-one.yaml │ ├── steps-two.yaml │ ├── toc-one.yaml │ └── toc-two.yaml │ └── test_content.py ├── pharaoh ├── README.rst ├── gizaext │ ├── __init__.py │ ├── command.py │ ├── config.py │ ├── corpora.py │ ├── documentation │ │ ├── MosesSetup.sh │ │ ├── README.rst │ │ ├── corpora.yaml │ │ ├── translate_baseline.yaml │ │ ├── translate_best.yaml │ │ └── translate_full.yaml │ ├── model.py │ ├── model_results.py │ ├── operations.py │ ├── protected.re │ ├── test │ │ └── test_translation.py │ ├── translate.py │ ├── translation.py │ └── utils.py ├── pharaoh │ ├── __init__.py │ ├── app │ │ ├── __init__.py │ │ ├── filters.py │ │ ├── flask_app.py │ │ ├── flask_environments.py │ │ ├── logging.conf │ │ ├── models.py │ │ ├── static │ │ │ ├── bootstrap │ │ │ │ ├── css │ │ │ │ │ ├── bootstrap-theme.css │ │ │ │ │ ├── bootstrap-theme.css.map │ │ │ │ │ ├── bootstrap-theme.min.css │ │ │ │ │ ├── bootstrap.css │ │ │ │ │ ├── bootstrap.css.map │ │ │ │ │ └── bootstrap.min.css │ │ │ │ ├── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ └── glyphicons-halflings-regular.woff │ │ │ │ └── js │ │ │ │ │ ├── bootstrap.js │ │ │ │ │ └── bootstrap.min.js │ │ │ ├── css │ │ │ │ └── style.css │ │ │ └── javascript │ │ │ │ ├── jquery.autosize.min.js │ │ │ │ ├── scripts.js │ │ │ │ └── sorttable.js │ │ ├── templates │ │ │ ├── 423.html │ │ │ ├── admin.html │ │ │ ├── base.html │ │ │ ├── file_browser.html │ │ │ ├── file_editor.html │ │ │ ├── language_picker.html │ │ │ └── pagination.html │ │ └── views.py │ ├── cmdline.py │ ├── config.yaml │ ├── gunicorn_application.py │ ├── manage.py │ ├── mongo_to_po.py │ ├── po_to_mongo.py │ ├── serialization.py │ └── utils.py ├── setup.py └── test │ ├── __init__.py │ ├── configs_test │ ├── bad_file_corpus.yaml │ ├── bad_perc_corpora.yaml │ ├── bad_perc_corpora2.yaml │ ├── bad_perc_corpora3.yaml │ ├── corpora.yaml │ ├── even_corpora.yaml │ ├── hidden_corpora.yaml │ ├── one_corpus.yaml │ └── uneven_corpora.yaml │ ├── test_corpora.py │ ├── test_files │ ├── about.po │ ├── approve.pot │ ├── dict.txt │ ├── doc_filler.txt │ ├── docs │ │ ├── administration.po │ │ └── aggregation.po │ ├── empty.txt │ ├── f1 │ ├── f2 │ ├── f3 │ ├── files.json │ ├── filled_docs │ │ ├── administration.po │ │ └── aggregation.po │ ├── flip_text.txt │ ├── flipped.txt │ ├── large.en │ ├── large.es │ ├── medium.en │ ├── medium.es │ ├── merged.txt │ ├── post_approve.pot │ ├── small.en │ ├── small.es │ ├── test_dir │ │ ├── d1 │ │ │ └── f4.txt │ │ ├── f1.txt │ │ ├── f2.txt │ │ ├── f3 │ │ └── f5.yaml │ ├── translations.json │ └── users.json │ ├── test_utils.py │ └── test_verifier.py ├── sphinxext ├── accordion.py ├── codepen.py ├── directives.py ├── div.py ├── eval.py ├── fasthtml.py ├── fixed_only.py ├── guides.py ├── icon.py ├── intermanual.py ├── landing_cards.py ├── markdown.py ├── mongodb.py ├── mongodb_conf.py ├── realm-builders.py ├── samepage.py ├── source_constants.py ├── sphinx_openapi.py ├── stitch-builders.py ├── stitch_release_notes.py ├── tab-content.py ├── tabs.py ├── template.py ├── testcode.py ├── uriwriter.py └── xmlrole.py ├── test ├── __init__.py └── test_giza.py ├── themes ├── bi-connector │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf ├── charts │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf ├── compass │ ├── compass-adblock-header.html │ ├── compass-adblock.html │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf ├── database-tools │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf ├── datalake │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf ├── drivers │ ├── page.html │ ├── pagenav.html │ └── theme.conf ├── ecosystem │ ├── eco-adblock-header.html │ ├── eco-adblock.html │ ├── footer.html │ ├── intrasites.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf ├── epub_mongodb │ ├── epub-cover.html │ ├── layout.html │ ├── static │ │ └── epub.css │ └── theme.conf ├── guides │ ├── layout.html │ ├── static │ │ └── images │ │ │ └── bg-accent.svg │ └── theme.conf ├── kubernetes-operator │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf ├── manual │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ └── theme.conf ├── meta-driver │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ └── theme.conf ├── mms-cloud │ ├── cloud-adblock-header.html │ ├── cloud-adblock.html │ ├── page.html │ ├── pagenav.html │ └── theme.conf ├── mms-managed │ ├── cloud-adblock-header.html │ ├── cloud-adblock.html │ ├── page.html │ ├── pagenav.html │ └── theme.conf ├── mms-onprem │ ├── onprem-adblock-header.html │ ├── onprem-adblock.html │ ├── page.html │ ├── pagenav.html │ └── theme.conf ├── mms │ ├── mms-resources.html │ ├── page-layout.html │ ├── page.html │ └── theme.conf ├── mongocli │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf ├── mongodb-default │ ├── page.html │ └── theme.conf ├── mongodb │ ├── adblock-header.html │ ├── adblock.html │ ├── formats.html │ ├── jiracollector.html │ ├── layout.html │ ├── linktags.html │ ├── resources.html │ ├── search.html │ ├── src │ │ ├── .eslintrc.json │ │ ├── Makefile │ │ ├── README.md │ │ ├── css │ │ │ ├── accordion.css │ │ │ ├── auth-table.css │ │ │ ├── basic.css │ │ │ ├── bordered-figure.css │ │ │ ├── charts-icons.css │ │ │ ├── code-buttons.css │ │ │ ├── colors.css │ │ │ ├── config-table.css │ │ │ ├── dropdown.css │ │ │ ├── feedback.css │ │ │ ├── font-awesome-v4.css │ │ │ ├── font-awesome.css │ │ │ ├── fonts.css │ │ │ ├── form.css │ │ │ ├── guides │ │ │ │ ├── guides-landing.css │ │ │ │ └── guides.css │ │ │ ├── header.css │ │ │ ├── landing-page.css │ │ │ ├── landing │ │ │ │ ├── base.css │ │ │ │ ├── bem-components.css │ │ │ │ ├── bem-components │ │ │ │ │ ├── announcement.css │ │ │ │ │ ├── block.css │ │ │ │ │ ├── card.css │ │ │ │ │ ├── main.css │ │ │ │ │ └── toc.css │ │ │ │ ├── grid.css │ │ │ │ └── landing.css │ │ │ ├── lightbox.css │ │ │ ├── manual │ │ │ │ ├── bootstrap-custom.css │ │ │ │ ├── icomoon.css │ │ │ │ └── mongodb-docs.css │ │ │ ├── marian.css │ │ │ ├── mms-icons.css │ │ │ ├── mongodb-base.css │ │ │ ├── mws.css │ │ │ ├── navbar │ │ │ │ ├── README.md │ │ │ │ ├── base.css │ │ │ │ ├── bem-components.css │ │ │ │ ├── bem-components │ │ │ │ │ ├── button.css │ │ │ │ │ ├── copy-button.css │ │ │ │ │ ├── filter-header.css │ │ │ │ │ ├── label.css │ │ │ │ │ ├── main.css │ │ │ │ │ ├── menu.css │ │ │ │ │ ├── navbar-brand.css │ │ │ │ │ ├── navbar-download.css │ │ │ │ │ ├── navbar-dropdown.css │ │ │ │ │ ├── navbar-links.css │ │ │ │ │ ├── navbar-search.css │ │ │ │ │ ├── navbar-seperator.css │ │ │ │ │ ├── navbar.css │ │ │ │ │ ├── spinner.css │ │ │ │ │ ├── submenu.css │ │ │ │ │ ├── tutorial-search.css │ │ │ │ │ └── tutorials.css │ │ │ │ ├── constants.css │ │ │ │ ├── navbar.css │ │ │ │ └── search.css │ │ │ ├── normalize.css │ │ │ ├── openapi.css │ │ │ ├── pills.css │ │ │ ├── sequence.css │ │ │ ├── stitch-sidebar.css │ │ │ ├── stitch │ │ │ │ ├── bootstrap-custom.css │ │ │ │ ├── icomoon.css │ │ │ │ ├── reference-block.css │ │ │ │ ├── stitch-tabs.css │ │ │ │ └── stitch.css │ │ │ ├── suggestion.css │ │ │ ├── tabs.css │ │ │ ├── toggle.css │ │ │ └── uriwriter.css │ │ ├── js │ │ │ ├── componentAccordion.js │ │ │ ├── componentAtlas.js │ │ │ ├── componentCloseOpen.js │ │ │ ├── componentCodeBlockFix.js │ │ │ ├── componentCopyButtons.js │ │ │ ├── componentEcosystemLinkTrack.js │ │ │ ├── componentFastLoad.js │ │ │ ├── componentFastLoadStitch.js │ │ │ ├── componentFeedback.js │ │ │ ├── componentGuides.js │ │ │ ├── componentLightbox.js │ │ │ ├── componentOpenAPI.js │ │ │ ├── componentPillStrip.js │ │ │ ├── componentSidebar.js │ │ │ ├── componentStitchSidebar.js │ │ │ ├── componentTabs.js │ │ │ ├── componentThirdParty.js │ │ │ ├── componentToggleController.js │ │ │ ├── componentUriwriter.js │ │ │ ├── componentVersionSelector.js │ │ │ └── util.js │ │ ├── landing │ │ │ ├── landing-list.js │ │ │ ├── landing.js │ │ │ └── util.js │ │ ├── main │ │ │ ├── controller.js │ │ │ ├── copyButtonsController.js │ │ │ └── feedbackController.js │ │ ├── navbar │ │ │ ├── Marian.js │ │ │ ├── menu.js │ │ │ ├── navbar-dropdown.js │ │ │ ├── navbar.js │ │ │ ├── submenu.js │ │ │ └── widgetData.json │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── postcss.config.js │ │ ├── rollup.config.js │ │ └── widgets │ │ │ ├── deluge │ │ │ ├── BinaryQuestion.js │ │ │ ├── FreeformQuestion.js │ │ │ ├── InputField.js │ │ │ ├── MainWidget.js │ │ │ └── deluge.js │ │ │ ├── suggestion │ │ │ ├── SuggestionCardList.js │ │ │ └── suggestion.js │ │ │ └── widgets.js │ ├── static │ │ ├── controller.js │ │ ├── controller.js.map │ │ ├── copy-buttons.min.js │ │ ├── copy-buttons.min.js.map │ │ ├── css │ │ │ └── navbar.min.css │ │ ├── feedback.css │ │ ├── feedback.min.js │ │ ├── feedback.min.js.map │ │ ├── fonts │ │ │ ├── MMSIcons-Regular.ttf │ │ │ ├── MMSIcons-Regular.woff │ │ │ ├── MMSIcons-Regular.woff2 │ │ │ ├── MMSOrgIcons-Regular.ttf │ │ │ ├── MMSOrgIcons-Regular.woff │ │ │ ├── MMSOrgIcons-Regular.woff2 │ │ │ ├── charts.ttf │ │ │ ├── charts.woff │ │ │ ├── charts.woff2 │ │ │ ├── fontawesome4-webfont.ttf │ │ │ ├── fontawesome4-webfont.woff │ │ │ └── fontawesome4-webfont.woff2 │ │ ├── guides.css │ │ ├── images │ │ │ ├── caret-right-solid.svg │ │ │ ├── file-alt-regular-active.svg │ │ │ ├── file-alt-regular.svg │ │ │ ├── icon-search.png │ │ │ ├── minus-square-regular-active.svg │ │ │ ├── minus-square-regular.svg │ │ │ ├── mongodb-logo.png │ │ │ ├── mongodb-logo.svg │ │ │ ├── page-icon-active.png │ │ │ ├── page-icon.png │ │ │ ├── plus-square-regular-active.svg │ │ │ └── plus-square-regular.svg │ │ ├── landing.css │ │ ├── landing.min.js │ │ ├── landing.min.js.map │ │ ├── lib │ │ │ ├── bootstrap.js │ │ │ ├── bootstrap.min.js │ │ │ ├── jquery.cookie.js │ │ │ ├── jquery.min.js │ │ │ └── underscore-min.js │ │ ├── mms-version-selector.js │ │ ├── mongodb-docs.css │ │ ├── navbar.min.css │ │ ├── navbar.min.js │ │ ├── navbar.min.js.map │ │ ├── stitch.css │ │ └── underscore.js │ ├── theme.conf │ └── translations.html ├── mongoid │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf ├── php-library │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf ├── primer │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ └── theme.conf ├── realm │ ├── page.html │ ├── pagenav.html │ ├── realm-adblock-header.html │ ├── realm-adblock.html │ ├── search.html │ └── theme.conf ├── ruby-driver │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf ├── spark-connector │ ├── footer.html │ ├── page.html │ ├── pagenav.html │ ├── search.html │ ├── spark-adblock-header.html │ ├── spark-adblock.html │ └── theme.conf ├── stitch │ ├── page.html │ ├── pagenav.html │ ├── search.html │ ├── stitch-adblock-header.html │ ├── stitch-adblock.html │ └── theme.conf ├── training │ ├── footer.html │ ├── genindex.html │ ├── jiracollector.html │ ├── mms-resources.html │ ├── page.html │ ├── pagenav.html │ └── theme.conf └── wip │ ├── page.html │ ├── pagenav.html │ ├── search.html │ └── theme.conf └── tools ├── atlas-api-automation ├── .gitignore ├── README.md ├── differ.py └── whitelist.txt ├── migrate-markdown.py ├── rst-testing ├── compile-blocks.js ├── create-blocks.py └── rst_tester.py └── world-builder ├── README.rst ├── build.py └── projects.json /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | dist/ 3 | *pyc 4 | .DS_Store 5 | .#* 6 | *.bak 7 | fabsrc/docs_meta.py 8 | fabsrc/utils.py 9 | fabsrc/utils 10 | makecloth/utils 11 | bin/utils 12 | *#* 13 | bin/docs_meta.yaml 14 | meta.yaml 15 | TAGS 16 | utils/docs_meta.py 17 | config 18 | !giza/giza/config 19 | !giza/giza/quickstart/config 20 | fabsrc/giza 21 | *.egg-info 22 | !giza/docs/config 23 | node_modules/ 24 | src/build/ 25 | 26 | /world-builder/source 27 | /world-builder/build 28 | /world-builder/.ninja* 29 | 30 | .vscode 31 | 32 | tools/screenshot-tool/.properties.ini 33 | -------------------------------------------------------------------------------- /data/atlas-open-service-broker-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - '1.0' 4 | active: 5 | - '1.0' 6 | stable: '1.0' 7 | upcoming: '' 8 | git: 9 | branches: 10 | manual: 'master' 11 | published: 12 | - 'master' 13 | # the branches/published list **must** be ordered from most to 14 | # least recent release. 15 | ... 16 | -------------------------------------------------------------------------------- /data/bi-connector-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - '2.14' 4 | - '2.13' 5 | - '2.12' 6 | - '2.11' 7 | - '2.10' 8 | active: 9 | - '2.14' 10 | - '2.13' 11 | - '2.12' 12 | - '2.11' 13 | - '2.10' 14 | stable: '' 15 | upcoming: '' 16 | git: 17 | branches: 18 | manual: 'master' 19 | published: 20 | - 'master' 21 | - 'v2.13' 22 | - 'v2.12' 23 | - 'v2.11' 24 | - 'v2.10' 25 | # the branches/published list **must** be ordered from most to 26 | # least recent release. 27 | ... 28 | -------------------------------------------------------------------------------- /data/build_config.yaml: -------------------------------------------------------------------------------- 1 | git: 2 | remote: 3 | upstream: 'mongodb/docs-tools' 4 | tools: 'mongodb/docs-tools' 5 | project: 6 | name: 'tools' 7 | tag: 'tools' 8 | url: 'http://docs.mongodb.org/giza/' 9 | title: 'MongoDB Docs Tools' 10 | siteroot: true 11 | version: 12 | release: '0.4.9' 13 | branch: 'master' 14 | system: 15 | files: [] 16 | assets: [] 17 | paths: 18 | output: 'build' 19 | builddata: 'data' 20 | buildsystem: './' 21 | ... -------------------------------------------------------------------------------- /data/charts-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - 'Cloud' 4 | - '19.12 (On-Prem)' 5 | - '19.09 (On-Prem)' 6 | active: 7 | - 'Cloud' 8 | - '19.12 (On-Prem)' 9 | - '19.09 (On-Prem)' 10 | stable: '' 11 | git: 12 | branches: 13 | manual: 'master' 14 | published: 15 | - 'master' 16 | - '19.12' 17 | - '19.09' 18 | 19 | # the branches/published list **must** be ordered from most to 20 | # least recent release. 21 | ... 22 | -------------------------------------------------------------------------------- /data/compass-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - 'latest stable' 4 | - 'beta' 5 | active: 6 | - 'master' 7 | - 'beta' 8 | stable: '' 9 | upcoming: beta 10 | git: 11 | branches: 12 | manual: 'master' 13 | published: 14 | - 'master' 15 | - 'beta' 16 | # the branches/published list **must** be ordered from most to 17 | # least recent release. 18 | ... 19 | -------------------------------------------------------------------------------- /data/guides-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - 'master' 4 | active: 5 | - 'master' 6 | stable: '' 7 | upcoming: '' 8 | git: 9 | branches: 10 | manual: 'master' 11 | published: 12 | - 'master' 13 | # the branches/published list **must** be ordered from most to 14 | # least recent release. 15 | ... 16 | -------------------------------------------------------------------------------- /data/kafka-connector-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - 'master' 4 | - 'v1.3' 5 | - 'v1.2' 6 | - 'v1.1' 7 | - 'v1.0' 8 | active: 9 | - 'master' 10 | - 'v1.3' 11 | - 'v1.2' 12 | - 'v1.1' 13 | - 'v1.0' 14 | stable: 'v1.3' 15 | upcoming: 'master' 16 | git: 17 | branches: 18 | manual: 'master' 19 | published: 20 | - 'master' 21 | - 'v1.3' 22 | - 'v1.2' 23 | - 'v1.1' 24 | - 'v1.0' 25 | # the branches/published list **must** be ordered from most to 26 | # least recent release. 27 | ... 28 | -------------------------------------------------------------------------------- /data/kubernetes-operator-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - '1.22' 4 | - '1.21' 5 | - '1.20' 6 | - '1.19' 7 | 8 | active: 9 | - '1.22' 10 | - '1.21' 11 | - '1.20' 12 | - '1.19' 13 | 14 | stable: '1.22' 15 | upcoming: '1.23' 16 | git: 17 | branches: 18 | manual: 'v1.23' 19 | published: 20 | - 'master' 21 | - 'v1.22' 22 | - 'v1.21' 23 | - 'v1.20' 24 | - 'v1.19' 25 | 26 | # the branches/published list **must** be ordered from most to 27 | # least recent release. 28 | ... 29 | -------------------------------------------------------------------------------- /data/manual-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - '7.0 (Upcoming)' 4 | - '6.3 (Rapid Release)' 5 | - '6.0 (Major Release)' 6 | - '5.0' 7 | - '4.4' 8 | - '4.2' 9 | active: 10 | - '7.0' 11 | - '6.3' 12 | - '6.0' 13 | - '5.0' 14 | - '4.4' 15 | - '4.2' 16 | stable: '6.0' 17 | upcoming: '7.0' 18 | git: 19 | branches: 20 | manual: 'v6.0' 21 | published: 22 | - 'master' 23 | - 'v6.3' 24 | - 'v6.0' 25 | - 'v5.0' 26 | - 'v4.4' 27 | - 'v4.2' 28 | # the branches/published list **must** be ordered from most to 29 | # least recent release. 30 | ... 31 | -------------------------------------------------------------------------------- /data/mms-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - 'upcoming' 4 | - '7.0' 5 | - '6.0' 6 | active: 7 | - 'upcoming' 8 | - '7.0' 9 | - '6.0' 10 | stable: '7.0' 11 | upcoming: '8.0' 12 | git: 13 | branches: 14 | manual: 'v7.0' 15 | published: 16 | - 'master' 17 | - 'v7.0' 18 | - 'v6.0' 19 | # the branches/published list **must** be ordered from most to 20 | # least recent release. 21 | ... 22 | -------------------------------------------------------------------------------- /data/mongocli-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - '1.10' 4 | - '1.9' 5 | - '1.8' 6 | - '1.7' 7 | - '1.6' 8 | - '1.5' 9 | - '1.4' 10 | - '1.3' 11 | - '1.2' 12 | - '1.1' 13 | - '1.0' 14 | - '0.5' 15 | - '0.2' 16 | - '0.1' 17 | - '0.0.4' 18 | - '0.0.3' 19 | active: 20 | - '1.10' 21 | - '1.9' 22 | - '1.8' 23 | - '1.7' 24 | - '1.6' 25 | - '1.5' 26 | - '1.4' 27 | - '1.3' 28 | - '1.2' 29 | - '1.1' 30 | - '1.0' 31 | stable: '1.9' 32 | upcoming: '1.10' 33 | git: 34 | branches: 35 | manual: 'v1.10' 36 | published: 37 | - 'master' 38 | - 'v1.9' 39 | - 'v1.8' 40 | - 'v1.7' 41 | - 'v1.6' 42 | - 'v1.5' 43 | - 'v1.4.0' 44 | - 'v1.3.0' 45 | - 'v1.2.0' 46 | - 'v1.1.0' 47 | - 'v1.0.0' 48 | - 'v0.5.0' 49 | - 'v0.2.0' 50 | - 'v0.1.0' 51 | - 'v0.0.4' 52 | - 'v0.0.3' 53 | # the branches/published list **must** be ordered from most to 54 | # least recent release. 55 | ... 56 | -------------------------------------------------------------------------------- /data/mongoid-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - 'master' 4 | - '8.1' 5 | - '8.0' 6 | - '7.5' 7 | - '7.4' 8 | - '7.3' 9 | stable: '8.1' 10 | upcoming: master 11 | git: 12 | branches: 13 | manual: 'master' 14 | published: 15 | - 'master' 16 | - '8.1' 17 | - '8.0' 18 | - '7.5' 19 | - '7.4' 20 | - '7.3' 21 | # the branches/published list **must** be ordered from most to 22 | # least recent release. 23 | ... 24 | -------------------------------------------------------------------------------- /data/node-driver-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - 'master' 4 | - 'foo' 5 | active: 6 | - 'master' 7 | - 'foo' 8 | stable: 'foo' 9 | upcoming: null 10 | git: 11 | branches: 12 | manual: 'master' 13 | published: 14 | - 'master' 15 | - 'docs-migration' 16 | # the branches/published list **must** be ordered from most to 17 | # least recent release. 18 | ... 19 | -------------------------------------------------------------------------------- /data/php-library-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - 'master' 4 | - '1.17' 5 | - '1.16' 6 | - '1.15' 7 | - '1.13' 8 | - '1.12' 9 | active: 10 | - 'master' 11 | - '1.17' 12 | - '1.16' 13 | - '1.15' 14 | - '1.13' 15 | - '1.12' 16 | stable: '1.17' 17 | upcoming: 'master' 18 | git: 19 | branches: 20 | manual: 'v1.17' 21 | published: 22 | - 'master' 23 | - 'v1.17' 24 | - 'v1.16' 25 | - 'v1.15' 26 | - 'v1.13' 27 | - 'v1.12' 28 | # the branches/published list **must** be ordered from most to 29 | # least recent release. 30 | ... 31 | -------------------------------------------------------------------------------- /data/realm-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - 'master' 4 | active: 5 | - 'master' 6 | stable: '' 7 | upcoming: master 8 | git: 9 | branches: 10 | manual: 'master' 11 | published: 12 | - 'master' 13 | # the branches/published list **must** be ordered from most to 14 | # least recent release. 15 | ... 16 | -------------------------------------------------------------------------------- /data/ruby-driver-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - 'master' 4 | - '2.19' 5 | - '2.18' 6 | - '2.17' 7 | - '2.16' 8 | active: 9 | - 'master' 10 | - '2.19' 11 | - '2.18' 12 | - '2.17' 13 | - '2.16' 14 | stable: '2.19' 15 | upcoming: master 16 | git: 17 | branches: 18 | manual: 'master' 19 | published: 20 | - 'master' 21 | - 'v2.19' 22 | - 'v2.18' 23 | - 'v2.17' 24 | - 'v2.16' 25 | # the branches/published list **must** be ordered from most to 26 | # least recent release. 27 | ... 28 | -------------------------------------------------------------------------------- /data/spark-connector-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - '3.0' 4 | - '2.4' 5 | - '2.3' 6 | - '2.2' 7 | - '2.1' 8 | - '2.0' 9 | - '1.1' 10 | stable: '' 11 | upcoming: '' 12 | git: 13 | branches: 14 | manual: 'master' 15 | published: 16 | - 'master' 17 | - 'v2.4' 18 | - 'v2.3' 19 | - 'v2.2' 20 | - 'v2.1' 21 | - 'v2.0' 22 | - 'v1.1' 23 | # the branches/published list **must** be ordered from most to 24 | # least recent release. 25 | ... 26 | -------------------------------------------------------------------------------- /data/stitch-published-branches.yaml: -------------------------------------------------------------------------------- 1 | version: 2 | published: 3 | - 'beta' 4 | active: 5 | - 'master' 6 | stable: '' 7 | upcoming: '' 8 | git: 9 | branches: 10 | manual: 'master' 11 | published: 12 | - 'master' 13 | # the branches/published list **must** be ordered from most to 14 | # least recent release. 15 | ... 16 | -------------------------------------------------------------------------------- /giza/docs/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | docs-tools 3 | source/includes/hash.rst 4 | -------------------------------------------------------------------------------- /giza/docs/config/build_conf.yaml: -------------------------------------------------------------------------------- 1 | git: 2 | remote: 3 | upstream: 'mongodb/docs-tools' 4 | tools: 'mongodb/docs-tools' 5 | project: 6 | name: 'giza' 7 | tag: 'giza' 8 | url: 'http://docs.example.org' 9 | title: 'Giza' 10 | branched: true 11 | siteroot: true 12 | version: 13 | release: '0.0.0' 14 | branch: '0.0' 15 | system: 16 | make: 17 | generated: 18 | - 'meta' 19 | - 'integration' 20 | - 'push' 21 | - 'sphinx' 22 | static: 23 | - 'makefile.compatibility' 24 | - 'makefile.clean' 25 | - 'makefile.dtf' 26 | files: 27 | - 'intersphinx.yaml' 28 | - 'push.yaml' 29 | - 'pdfs.yaml' 30 | - 'sphinx_local.yaml' 31 | - 'integration.yaml' 32 | # - images: '/source/images/metadata.yaml' 33 | # - includes: '/source/includes/metadata.yaml' 34 | assets: 35 | - branch: master 36 | path: build/docs-tools 37 | repository: https://github.com/mongodb/docs-tools.git 38 | paths: 39 | output: 'build' 40 | source: 'source' 41 | includes: 'source/includes' 42 | images: 'source/images' 43 | tools: 'bin' 44 | buildsystem: 'build/docs-tools' 45 | builddata: 'config' 46 | locale: 'locale' 47 | ... -------------------------------------------------------------------------------- /giza/docs/config/integration.yaml: -------------------------------------------------------------------------------- 1 | fr: 2 | inherit: base 3 | es: 4 | inherit: base 5 | ja: 6 | inherit: base 7 | zh: 8 | inherit: base 9 | it: 10 | inherit: base 11 | base: 12 | links: [] 13 | targets: 14 | - 'latex' 15 | - 'json' 16 | - 'singlehtml' 17 | - 'html' 18 | - 'man' 19 | - 'epub' 20 | - 'dirhtml' 21 | doc-root: 22 | - 'sitemap.xml' 23 | - 'osd.xml' 24 | branch-root: null 25 | -------------------------------------------------------------------------------- /giza/docs/config/intersphinx.yaml: -------------------------------------------------------------------------------- 1 | name: pymongo 2 | url: http://api.mongodb.org/python/current/ 3 | path: pymongo.inv 4 | --- 5 | name: metadriver 6 | url: https://docs.mongodb.org/meta-driver/latest/ 7 | path: metadriver.inv 8 | --- 9 | name: python 10 | url: https://docs.python.org/2/ 11 | path: python2.inv 12 | --- 13 | name: mongodb 14 | url: https://docs.mongodb.org/manual/ 15 | path: mongodb.inv 16 | --- 17 | name: argh 18 | url: https://argh.readthedocs.org/en/latest/ 19 | path: argh.inv 20 | ... 21 | -------------------------------------------------------------------------------- /giza/docs/config/pdfs.yaml: -------------------------------------------------------------------------------- 1 | source: 'index' 2 | title: 'Manual' 3 | output: 'manual.tex' 4 | author: 'MongoDB Documentation Project' 5 | class: 'howto' 6 | tag: 'guide' 7 | ... -------------------------------------------------------------------------------- /giza/docs/config/push.yaml: -------------------------------------------------------------------------------- 1 | target: push 2 | paths: 3 | remote: /data/sites/docs 4 | local: public 5 | static: [ 'manual', '.htaccess', 'sitemap.xml.gz' ] 6 | options: [ 'branched', 'recursive' ] 7 | env: publication 8 | dependency: push-if-up-to-date 9 | --- 10 | target: stage 11 | paths: 12 | remote: /srv/public/test 13 | local: public 14 | static: [ 'manual', 'sitemap.xml.gz' ] 15 | options: [ 'branched', 'recursive' ] 16 | env: staging 17 | dependency: stage-if-up-to-date 18 | ... 19 | -------------------------------------------------------------------------------- /giza/docs/config/sphinx_local.yaml: -------------------------------------------------------------------------------- 1 | project: 'giza' 2 | master_doc: 'index' 3 | logo: ".static/logo.png" 4 | paths: 5 | static: ['source/.static'] 6 | theme: 7 | name: 'mongodb-default' 8 | project: 'giza' 9 | google_analytics: 'UA-0000000-0' 10 | book_path_base: 'Giza' 11 | repo: 'docs-tools' 12 | jira: 'DOCS' 13 | sitename: 'Giza' 14 | nav_excluded: [] 15 | sidebars: 16 | '**': 17 | - 'pagenav.html' 18 | ... -------------------------------------------------------------------------------- /giza/docs/makefile: -------------------------------------------------------------------------------- 1 | MAKEFLAGS += -j -r --no-print-directory 2 | 3 | output = build 4 | tools = $(output)/docs-tools 5 | 6 | %: 7 | giza make $@ 8 | 9 | help: 10 | @echo "Use 'make ', where is a Sphinx target (e.g. 'html', 'latex')" 11 | @echo "See 'http://docs.mongodb.org/manual/meta' for more information." 12 | 13 | -------------------------------------------------------------------------------- /giza/docs/source/.static/osd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | MongoDB Help 4 | Google Custom Search of MongoDB documentation and wiki 5 | Google Custom Search of MongoDB documentation (docs.mongodb.org) and wiki (www.mongodb.org/display/DOCS) 6 | mongodb mongo mongodocs 7 | 8 | http://docs.mongodb.com/assets/favicon.ico 9 | MongoDB, Inc. 10 | sitesearch@mongodb.com 11 | 12 | 13 | Google Custom Search by MongoDB.com 14 | 15 | -------------------------------------------------------------------------------- /giza/docs/source/.static/sitemap.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | http://docs.mongodb.org/manual/sitemap.xml.gz 5 | 6 | 7 | http://docs.mongodb.org/v2.4/sitemap.xml.gz 8 | 9 | 10 | http://docs.mongodb.org/v2.2/sitemap.xml.gz 11 | 12 | 13 | http://docs.mongodb.org/ecosystem/sitemap.xml.gz 14 | 15 | 16 | -------------------------------------------------------------------------------- /giza/docs/source/api.txt: -------------------------------------------------------------------------------- 1 | ======== 2 | Giza API 3 | ======== 4 | 5 | Giza contains a number of components: 6 | 7 | .. toctree:: 8 | 9 | /api/nav/config 10 | /api/nav/content 11 | /api/nav/operations 12 | /api/nav/core 13 | /api/nav/tools 14 | /api/nav/translate 15 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/assets.txt: -------------------------------------------------------------------------------- 1 | =================================== 2 | ``assets`` -- Embedded Repositories 3 | =================================== 4 | 5 | .. automodule:: giza.content.assets 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/dependencies.txt: -------------------------------------------------------------------------------- 1 | ========================================= 2 | ``dependencies`` -- Dependency Resolution 3 | ========================================= 4 | 5 | .. automodule:: giza.content.dependencies 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/examples.txt: -------------------------------------------------------------------------------- 1 | =================================== 2 | ``examples`` -- Structured Examples 3 | =================================== 4 | 5 | .. automodule:: giza.content.examples 6 | 7 | .. toctree:: 8 | 9 | /api/content/examples/models 10 | /api/content/examples/views 11 | /api/content/examples/inheritance 12 | /api/content/examples/tasks 13 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/examples/inheritance.txt: -------------------------------------------------------------------------------- 1 | ========================================================== 2 | ``inheritance`` -- Inheritance Implementation for Exmaples 3 | ========================================================== 4 | 5 | .. automodule:: giza.content.examples.inheritance 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/examples/models.txt: -------------------------------------------------------------------------------- 1 | ====================================== 2 | ``models`` -- Data Models for Examples 3 | ====================================== 4 | 5 | .. automodule:: giza.content.examples.models 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/examples/tasks.txt: -------------------------------------------------------------------------------- 1 | ===================================== 2 | ``tasks`` -- Integration for Examples 3 | ===================================== 4 | 5 | .. automodule:: giza.content.examples.tasks 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/examples/views.txt: -------------------------------------------------------------------------------- 1 | =================================== 2 | ``views`` -- Rendering for Examples 3 | =================================== 4 | 5 | .. automodule:: giza.content.examples.views 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/hash.txt: -------------------------------------------------------------------------------- 1 | ========================================= 2 | ``hash`` -- Build Metadata File Generator 3 | ========================================= 4 | 5 | .. automodule:: giza.content.hash 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/helper.txt: -------------------------------------------------------------------------------- 1 | ============================= 2 | ``helper`` -- Content Helpers 3 | ============================= 4 | 5 | .. autofunction:: giza.content.helper.edition_check 6 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/images.txt: -------------------------------------------------------------------------------- 1 | ========================================= 2 | ``images`` -- Image Generator and Display 3 | ========================================= 4 | 5 | .. automodule:: giza.content.images 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/includes.txt: -------------------------------------------------------------------------------- 1 | ===================================== 2 | ``includes`` -- Include File Overview 3 | ===================================== 4 | 5 | .. automodule:: giza.content.includes 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/intersphinx.txt: -------------------------------------------------------------------------------- 1 | =================================================== 2 | ``intersphinx`` -- Download Interpshinx Inventories 3 | =================================================== 4 | 5 | .. automodule:: giza.content.intersphinx 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/links.txt: -------------------------------------------------------------------------------- 1 | ============================== 2 | ``links`` -- Generate Symlinks 3 | ============================== 4 | 5 | .. automodule:: giza.content.links 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/options.txt: -------------------------------------------------------------------------------- 1 | ================================================== 2 | ``options`` -- Generate Commandline Option Content 3 | ================================================== 4 | 5 | .. automodule:: giza.content.options 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/param.txt: -------------------------------------------------------------------------------- 1 | =================================================== 2 | ``param`` -- Generate Tables for Function Arguments 3 | =================================================== 4 | 5 | .. automodule:: giza.content.param 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/post/archives.txt: -------------------------------------------------------------------------------- 1 | ======================================================= 2 | ``archives`` -- Downloadable Archives for Build Targets 3 | ======================================================= 4 | 5 | .. automodule:: giza.content.post.archives 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/post/gettext.txt: -------------------------------------------------------------------------------- 1 | ============================================= 2 | ``gettext`` -- Translation Catalog Processing 3 | ============================================= 4 | 5 | .. automodule:: giza.content.post.gettext 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/post/json_output.txt: -------------------------------------------------------------------------------- 1 | ======================================= 2 | ``json_output`` -- Processing JSON Data 3 | ======================================= 4 | 5 | .. automodule:: giza.content.post.json_output 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/post/latex.txt: -------------------------------------------------------------------------------- 1 | ================================================ 2 | ``latex`` -- Process TeX and Generate PDF Output 3 | ================================================ 4 | 5 | .. automodule:: giza.content.post.latex 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/post/manpages.txt: -------------------------------------------------------------------------------- 1 | ====================================== 2 | ``manpages`` -- Process Manpage Output 3 | ====================================== 4 | 5 | .. automodule:: giza.content.post.manpages 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/post/singlehtml.txt: -------------------------------------------------------------------------------- 1 | ========================================== 2 | ``singlehtml`` -- Process SingleHTML Output 3 | ========================================== 4 | 5 | .. automodule:: giza.content.post.singlehtml 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/post/sites.txt: -------------------------------------------------------------------------------- 1 | ============================================================== 2 | ``sites`` -- Process Primary Site Output and Generate Sitemaps 3 | ============================================================== 4 | 5 | .. automodule:: giza.content.post.sites 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/post/slides.txt: -------------------------------------------------------------------------------- 1 | ================================= 2 | ``Slides`` -- Process HTML Slides 3 | ================================= 4 | 5 | .. automodule:: giza.content.post.slides 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/redirects.txt: -------------------------------------------------------------------------------- 1 | ============================================= 2 | ``redirects`` -- Generate ``.htaccess`` Files 3 | ============================================= 4 | 5 | .. automodule:: giza.content.redirects 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/release.txt: -------------------------------------------------------------------------------- 1 | ============================================================= 2 | ``release`` -- Generate Content for Installation Instructions 3 | ============================================================= 4 | 5 | .. deprecated:: 0.4.0 6 | 7 | .. automodule:: giza.content.release 8 | :members: 9 | :undoc-members: 10 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/robots.txt: -------------------------------------------------------------------------------- 1 | =========================================== 2 | ``robots`` -- Generate ``robots.txt`` Files 3 | =========================================== 4 | 5 | .. automodule:: giza.content.robots 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/source.txt: -------------------------------------------------------------------------------- 1 | ======================================== 2 | ``source`` -- Prepare and Process Source 3 | ======================================== 4 | 5 | .. automodule:: giza.content.source 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/sphinx.txt: -------------------------------------------------------------------------------- 1 | ===================================================== 2 | ``sphinx`` -- Run ``sphinx-build`` and Process Output 3 | ===================================================== 4 | 5 | .. automodule:: giza.content.sphinx 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/steps.txt: -------------------------------------------------------------------------------- 1 | ========================================= 2 | ``steps`` -- Procedural Content Generator 3 | ========================================= 4 | 5 | .. automodule:: giza.content.steps 6 | 7 | .. toctree:: 8 | 9 | /api/content/steps/models 10 | /api/content/steps/views 11 | /api/content/steps/inheritance 12 | /api/content/steps/tasks 13 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/steps/inheritance.txt: -------------------------------------------------------------------------------- 1 | ======================================================= 2 | ``inheritance`` -- Inheritance Implementation for Steps 3 | ======================================================= 4 | 5 | .. automodule:: giza.content.steps.inheritance 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/steps/models.txt: -------------------------------------------------------------------------------- 1 | =================================== 2 | ``models`` -- Data Models for Steps 3 | =================================== 4 | 5 | .. automodule:: giza.content.steps.models 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/steps/tasks.txt: -------------------------------------------------------------------------------- 1 | ================================== 2 | ``tasks`` -- Integration for Steps 3 | ================================== 4 | 5 | .. automodule:: giza.content.steps.tasks 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/steps/views.txt: -------------------------------------------------------------------------------- 1 | ================================ 2 | ``views`` -- Rendering for Steps 3 | ================================ 4 | 5 | .. automodule:: giza.content.steps.views 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/table.txt: -------------------------------------------------------------------------------- 1 | ================================ 2 | ``table`` -- Generate RST Tables 3 | ================================ 4 | 5 | .. automodule:: giza.content.table 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/tocs.txt: -------------------------------------------------------------------------------- 1 | ======================================= 2 | ``tocs`` -- Tables of Content Generator 3 | ======================================= 4 | 5 | .. automodule:: giza.content.tocs 6 | 7 | .. toctree:: 8 | 9 | /api/content/tocs/models 10 | /api/content/tocs/views 11 | /api/content/tocs/inheritance 12 | /api/content/tocs/tasks 13 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/tocs/inheritance.txt: -------------------------------------------------------------------------------- 1 | ==================================================================== 2 | ``inheritance`` -- Inheritance Implementation for Tables of Contents 3 | ==================================================================== 4 | 5 | .. automodule:: giza.content.tocs.inheritance 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/tocs/models.txt: -------------------------------------------------------------------------------- 1 | ================================================ 2 | ``models`` -- Data Models for Tables of Contents 3 | ================================================ 4 | 5 | .. automodule:: giza.content.tocs.models 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/tocs/tasks.txt: -------------------------------------------------------------------------------- 1 | =============================================== 2 | ``tasks`` -- Integration for Tables of Contents 3 | =============================================== 4 | 5 | .. automodule:: giza.content.tocs.tasks 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/content/tocs/views.txt: -------------------------------------------------------------------------------- 1 | ============================================= 2 | ``views`` -- Rendering for Tables of Contents 3 | ============================================= 4 | 5 | .. automodule:: giza.content.tocs.views 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/core/app.txt: -------------------------------------------------------------------------------- 1 | ============================= 2 | ``app`` -- Process Management 3 | ============================= 4 | 5 | .. automodule:: giza.core.app 6 | 7 | .. autoclass:: BuildApp 8 | :members: 9 | :undoc-members: 10 | -------------------------------------------------------------------------------- /giza/docs/source/api/core/task.txt: -------------------------------------------------------------------------------- 1 | =================================== 2 | ``task`` -- Work Unit Encapsulation 3 | =================================== 4 | 5 | .. automodule:: giza.core.task 6 | 7 | .. autoclass:: Task 8 | :members: 9 | :undoc-members: 10 | 11 | .. autoclass:: MapTask 12 | :members: 13 | :undoc-members: 14 | 15 | .. autofunction:: check_dependency 16 | 17 | .. autofunction:: check_hashed_dependency 18 | -------------------------------------------------------------------------------- /giza/docs/source/api/nav/config.txt: -------------------------------------------------------------------------------- 1 | ================== 2 | Giza Configuration 3 | ================== 4 | 5 | .. toctree:: 6 | 7 | /api/config/assets 8 | /api/config/base 9 | /api/config/corpora 10 | /api/config/credentials 11 | /api/config/deploy 12 | /api/config/git 13 | /api/config/github 14 | /api/config/helper 15 | /api/config/intersphinx 16 | /api/config/jeerah 17 | /api/config/main 18 | /api/config/manpage 19 | /api/config/paths 20 | /api/config/pdfs 21 | /api/config/project 22 | /api/config/redirects 23 | /api/config/runtime 24 | /api/config/sphinx_config 25 | /api/config/sphinx_local 26 | /api/config/system 27 | /api/config/translate 28 | /api/config/version 29 | -------------------------------------------------------------------------------- /giza/docs/source/api/nav/content-post.txt: -------------------------------------------------------------------------------- 1 | ======================= 2 | Content Post Processing 3 | ======================= 4 | 5 | .. toctree:: 6 | 7 | /api/content/post/archives 8 | /api/content/post/gettext 9 | /api/content/post/json_output 10 | /api/content/post/latex 11 | /api/content/post/manpages 12 | /api/content/post/singlehtml 13 | /api/content/post/sites 14 | /api/content/post/slides 15 | -------------------------------------------------------------------------------- /giza/docs/source/api/nav/content.txt: -------------------------------------------------------------------------------- 1 | ================== 2 | Content Generation 3 | ================== 4 | 5 | The Giza content generation modules are responsible for pre and post 6 | processing the content and output. 7 | 8 | .. toctree:: 9 | 10 | /api/content/assets 11 | /api/content/dependencies 12 | /api/content/examples 13 | /api/content/hash 14 | /api/content/helper 15 | /api/content/images 16 | /api/content/includes 17 | /api/content/intersphinx 18 | /api/content/links 19 | /api/content/options 20 | /api/content/param 21 | /api/content/primer 22 | /api/nav/content-post 23 | /api/content/redirects 24 | /api/content/release 25 | /api/content/robots 26 | /api/content/source 27 | /api/content/sphinx 28 | /api/content/steps 29 | /api/content/table 30 | /api/content/tocs 31 | -------------------------------------------------------------------------------- /giza/docs/source/api/nav/core.txt: -------------------------------------------------------------------------------- 1 | ==================== 2 | Core Giza Mechanisms 3 | ==================== 4 | 5 | .. toctree:: 6 | 7 | /api/core/app 8 | /api/core/task 9 | -------------------------------------------------------------------------------- /giza/docs/source/api/nav/operations.txt: -------------------------------------------------------------------------------- 1 | =============== 2 | Giza Operations 3 | =============== 4 | 5 | .. toctree:: 6 | 7 | /api/operations/clean 8 | /api/operations/configuration 9 | /api/operations/deploy 10 | /api/operations/generate 11 | /api/operations/git 12 | /api/operations/http_serve 13 | /api/operations/includes 14 | /api/operations/make 15 | /api/operations/packaging 16 | /api/operations/quickstart 17 | /api/operations/sphinx_cmds 18 | /api/operations/translate 19 | /api/operations/tx 20 | -------------------------------------------------------------------------------- /giza/docs/source/api/nav/tools.txt: -------------------------------------------------------------------------------- 1 | ========== 2 | Giza Tools 3 | ========== 4 | 5 | .. toctree:: 6 | 7 | /api/tools/command 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/nav/translate.txt: -------------------------------------------------------------------------------- 1 | ================ 2 | Giza Translation 3 | ================ 4 | 5 | .. toctree:: 6 | 7 | /api/translate/corpora 8 | /api/translate/model 9 | /api/translate/model_results 10 | /api/translate/translation 11 | /api/translate/utils 12 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/clean.txt: -------------------------------------------------------------------------------- 1 | ================================== 2 | ``clean`` -- Clean Build Artifacts 3 | ================================== 4 | 5 | .. automodule:: giza.operations.clean 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/configuration.txt: -------------------------------------------------------------------------------- 1 | ================================================ 2 | ``configuration`` -- Configuration Introspection 3 | ================================================ 4 | 5 | .. automodule:: giza.operations.configuration 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/deploy.txt: -------------------------------------------------------------------------------- 1 | ======================================= 2 | ``deploy`` -- Build Artifact Deployment 3 | ======================================= 4 | 5 | .. automodule:: giza.operations.deploy 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/generate.txt: -------------------------------------------------------------------------------- 1 | ================================== 2 | ``generate`` -- Content Generation 3 | ================================== 4 | 5 | .. automodule:: giza.operations.generate 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/git.txt: -------------------------------------------------------------------------------- 1 | ===================================== 2 | ``git`` -- Version Control Management 3 | ===================================== 4 | 5 | .. automodule:: giza.operations.git 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/http_serve.txt: -------------------------------------------------------------------------------- 1 | ===================================================== 2 | ``http_serve`` -- Local Development Server Management 3 | ===================================================== 4 | 5 | .. automodule:: giza.operations.http_serve 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/includes.txt: -------------------------------------------------------------------------------- 1 | ================================================= 2 | ``includes`` -- Implicit Dependency Introspection 3 | ================================================= 4 | 5 | .. automodule:: giza.operations.includes 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/make.txt: -------------------------------------------------------------------------------- 1 | =================================== 2 | ``make`` -- Makefile Emulation Mode 3 | =================================== 4 | 5 | .. automodule:: giza.operations.make 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/packaging.txt: -------------------------------------------------------------------------------- 1 | ================================================= 2 | ``packaging`` -- Reusable Build Artifact Creation 3 | ================================================= 4 | 5 | .. automodule:: giza.operations.packaging 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/quickstart.txt: -------------------------------------------------------------------------------- 1 | ================================== 2 | ``quickstart`` -- Project Creation 3 | ================================== 4 | 5 | .. automodule:: giza.operations.quickstart 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/sphinx_cmds.txt: -------------------------------------------------------------------------------- 1 | ================================================= 2 | ``sphinx_cmds`` -- Sphinx Generation Processes 3 | ================================================= 4 | 5 | .. automodule:: giza.operations.sphinx_cmds 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/translate.txt: -------------------------------------------------------------------------------- 1 | ============================================ 2 | ``translate`` -- Machine Translation Control 3 | ============================================ 4 | 5 | .. automodule:: giza.operations.translate 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/operations/tx.txt: -------------------------------------------------------------------------------- 1 | ================================================ 2 | ``tx`` -- Translation Generation and Integration 3 | ================================================ 4 | 5 | .. automodule:: giza.operations.tx 6 | :members: 7 | :undoc-members: 8 | -------------------------------------------------------------------------------- /giza/docs/source/api/tools/command.txt: -------------------------------------------------------------------------------- 1 | ====================================== 2 | ``command`` -- Shell Command Execution 3 | ====================================== 4 | 5 | .. automodule:: giza.tools.command 6 | 7 | .. autoclass:: CommandResult 8 | :members: 9 | :undoc-members: 10 | 11 | .. autoexception:: CommandError 12 | 13 | .. autofunction:: command 14 | 15 | .. autofunction:: verbose_command 16 | -------------------------------------------------------------------------------- /giza/docs/source/api/translate/corpora.txt: -------------------------------------------------------------------------------- 1 | ================================ 2 | ``corpora`` -- Corpus Generation 3 | ================================ 4 | 5 | .. automodule:: giza.translate.corpora 6 | :members: 7 | -------------------------------------------------------------------------------- /giza/docs/source/api/translate/model.txt: -------------------------------------------------------------------------------- 1 | ======================================= 2 | ``model`` -- Data Schema and Validation 3 | ======================================= 4 | 5 | .. automodule:: giza.translate.model 6 | :members: 7 | -------------------------------------------------------------------------------- /giza/docs/source/api/translate/model_results.txt: -------------------------------------------------------------------------------- 1 | ================================ 2 | ``model_results`` -- Result Data 3 | ================================ 4 | 5 | .. automodule:: giza.translate.model_results 6 | :members: 7 | -------------------------------------------------------------------------------- /giza/docs/source/api/translate/translation.txt: -------------------------------------------------------------------------------- 1 | ====================================== 2 | ``translation`` -- Machine Translation 3 | ====================================== 4 | 5 | .. automodule:: giza.translate.translation 6 | :members: 7 | -------------------------------------------------------------------------------- /giza/docs/source/api/translate/utils.txt: -------------------------------------------------------------------------------- 1 | =========================================== 2 | ``utills`` -- Translation Utility Functions 3 | =========================================== 4 | 5 | .. automodule:: giza.translate.utils 6 | :members: 7 | -------------------------------------------------------------------------------- /giza/docs/source/core.txt: -------------------------------------------------------------------------------- 1 | ============= 2 | Core Concepts 3 | ============= 4 | 5 | .. toctree:: 6 | 7 | /core/giza 8 | /core/build-process 9 | /core/coding-practices 10 | /core/content-generation 11 | /core/parallelism 12 | -------------------------------------------------------------------------------- /giza/docs/source/index.txt: -------------------------------------------------------------------------------- 1 | ===================================== 2 | Giza -- Documentation Build Framework 3 | ===================================== 4 | 5 | Giza is a collection of tools built around `Sphinx 6 | `_, that coordinates assembling, building, and 7 | deploying documentation. Giza primarily addresses the MongoDB 8 | documentation project; however, its design is sufficiently generic to 9 | be able to facilitate the builds of multiple documentation resources 10 | produced at MongoDB. 11 | 12 | .. toctree:: 13 | 14 | /core 15 | /tutorial 16 | /api 17 | -------------------------------------------------------------------------------- /giza/docs/source/tutorial.txt: -------------------------------------------------------------------------------- 1 | ========= 2 | Tutorials 3 | ========= 4 | 5 | .. toctree:: 6 | 7 | /tutorial/set-up-giza 8 | /tutorial/use-giza 9 | -------------------------------------------------------------------------------- /giza/giza/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2014 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | # Next time we egg, will bump to 0.5.19 16 | # After egging, will be 0.5.20-dev, but must egg with non-dev version 17 | __version__ = '0.5.19-dev' 18 | -------------------------------------------------------------------------------- /giza/giza/config/assets.py: -------------------------------------------------------------------------------- 1 | # Copyright 2014 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | from giza.libgiza.config import ConfigurationBase 16 | 17 | 18 | class AssetsConfig(ConfigurationBase): 19 | _option_registry = ['path', 'branch', 'repository', 'commit'] 20 | 21 | @property 22 | def generate(self): 23 | return self.state['generate'] 24 | 25 | @generate.setter 26 | def generate(self, value): 27 | if isinstance(value, list): 28 | self.state['generate'] = value 29 | else: 30 | raise TypeError 31 | -------------------------------------------------------------------------------- /giza/giza/config/error.py: -------------------------------------------------------------------------------- 1 | # Copyright 2015 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | class ConfigurationError(Exception): 17 | pass 18 | -------------------------------------------------------------------------------- /giza/giza/content/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/content/__init__.py -------------------------------------------------------------------------------- /giza/giza/content/apiargs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/content/apiargs/__init__.py -------------------------------------------------------------------------------- /giza/giza/content/examples/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/content/examples/__init__.py -------------------------------------------------------------------------------- /giza/giza/content/extract/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/content/extract/__init__.py -------------------------------------------------------------------------------- /giza/giza/content/extract/inheritance.py: -------------------------------------------------------------------------------- 1 | # Copyright 2014 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | from giza.inheritance import DataContentBase, DataCache 16 | from giza.content.extract.models import ExtractData 17 | 18 | 19 | class ExtractFile(DataContentBase): 20 | content_class = ExtractData 21 | 22 | 23 | class ExtractDataCache(DataCache): 24 | content_class = ExtractFile 25 | content_type = 'extracts' 26 | -------------------------------------------------------------------------------- /giza/giza/content/glossary/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/content/glossary/__init__.py -------------------------------------------------------------------------------- /giza/giza/content/glossary/inheritance.py: -------------------------------------------------------------------------------- 1 | # Copyright 2015 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | import os.path 16 | 17 | from giza.inheritance import DataContentBase, DataCache 18 | from giza.content.glossary.models import GlossaryData 19 | 20 | 21 | class GlossaryFile(DataContentBase): 22 | content_class = GlossaryData 23 | 24 | def target(self, fn): 25 | # fn is the source file 26 | return os.path.join(self.conf.system.content.glossary.output_dir, 27 | self.conf.system.content.glossary.get_basename(fn)) + '.rst' 28 | 29 | 30 | class GlossaryDataCache(DataCache): 31 | content_class = GlossaryFile 32 | content_type = 'glossary' 33 | -------------------------------------------------------------------------------- /giza/giza/content/glossary/views.py: -------------------------------------------------------------------------------- 1 | # Copyright 2015 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | import logging 16 | 17 | from rstcloth.rstcloth import RstCloth 18 | 19 | logger = logging.getLogger('giza.content.glossary.views') 20 | 21 | 22 | def render_glossary(terms): 23 | r = RstCloth() 24 | 25 | r.directive(name="glossary", fields=[("sorted", "")]) 26 | r.newline() 27 | 28 | for term in terms.ordered_content(): 29 | r.definition(term.term, term.definition, wrap=False, indent=3) 30 | 31 | return r 32 | -------------------------------------------------------------------------------- /giza/giza/content/options/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/content/options/__init__.py -------------------------------------------------------------------------------- /giza/giza/content/post/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/content/post/__init__.py -------------------------------------------------------------------------------- /giza/giza/content/release/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/content/release/__init__.py -------------------------------------------------------------------------------- /giza/giza/content/release/inheritance.py: -------------------------------------------------------------------------------- 1 | # Copyright 2014 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | from giza.inheritance import DataContentBase, DataCache 16 | from giza.content.release.models import ReleaseData 17 | 18 | 19 | class ReleaseFile(DataContentBase): 20 | content_class = ReleaseData 21 | 22 | 23 | class ReleaseDataCache(DataCache): 24 | content_class = ReleaseFile 25 | content_type = 'releases' 26 | -------------------------------------------------------------------------------- /giza/giza/content/release/models.py: -------------------------------------------------------------------------------- 1 | # Copyright 2014 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | import logging 16 | import os.path 17 | 18 | from giza.inheritance import InheritableContentBase 19 | from giza.content.steps.models import HeadingMixin, ActionMixin 20 | 21 | logger = logging.getLogger('giza.content.models') 22 | 23 | 24 | class ReleaseData(HeadingMixin, ActionMixin, InheritableContentBase): 25 | _option_registry = ['copyable', 'ref', 'description', 'pre', 'post', 'content'] 26 | 27 | @property 28 | def target(self): 29 | return os.path.join(self.conf.system.content.releases.fn_prefix, self.ref) + '.rst' 30 | -------------------------------------------------------------------------------- /giza/giza/content/release/views.py: -------------------------------------------------------------------------------- 1 | # Copyright 2014 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | import logging 16 | 17 | from rstcloth.rstcloth import RstCloth 18 | 19 | from giza.content.steps.views import render_action 20 | 21 | logger = logging.getLogger('giza.content.release.views') 22 | 23 | 24 | def render_releases(release, conf): 25 | r = RstCloth() 26 | 27 | release.replacement = { 28 | 'version': conf.version.release, 29 | 'branch': conf.version.branch, 30 | 'stable': conf.version.stable, 31 | } 32 | 33 | release.render() # run replacements 34 | 35 | render_action(release, indent=0, level=2, r=r) 36 | 37 | return r 38 | -------------------------------------------------------------------------------- /giza/giza/content/tocs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/content/tocs/__init__.py -------------------------------------------------------------------------------- /giza/giza/corp.py: -------------------------------------------------------------------------------- 1 | import requests 2 | import logging 3 | 4 | from requests.auth import HTTPDigestAuth 5 | 6 | from giza.config.credentials import CredentialsConfig 7 | 8 | logger = logging.getLogger('giza.corp') 9 | 10 | 11 | def corp_api_call(endpoint, conf): 12 | credentials = CredentialsConfig(conf.site.credentials).corp 13 | 14 | url = conf.site.corp + '/api/' + endpoint 15 | headers = {'accept': 'application/json'} 16 | response = requests.get(url, 17 | auth=HTTPDigestAuth(credentials.username, credentials.password), 18 | headers=headers) 19 | 20 | return response.json() 21 | 22 | 23 | def get_contributor_list(conf): 24 | contributors = corp_api_call('contributors', conf)['contributors'] 25 | 26 | c_github = list({str(c['github_username']) for c in contributors 27 | if ('github_username' in c and 28 | c['github_username'] is not None and 29 | c['github_username'] != u'')}) 30 | 31 | return c_github 32 | -------------------------------------------------------------------------------- /giza/giza/jeerah/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/jeerah/__init__.py -------------------------------------------------------------------------------- /giza/giza/libgiza/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2015 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = '0.2.14a0' 16 | -------------------------------------------------------------------------------- /giza/giza/libgiza/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/libgiza/test/__init__.py -------------------------------------------------------------------------------- /giza/giza/libgiza/test/data-inheritance/example-add-one.yaml: -------------------------------------------------------------------------------- 1 | ref: one-first 2 | pre: | 3 | Grouping the documents by the ``item`` field, the following operation 4 | uses the :group:`$first` accumulator to compute the first sales date for 5 | each item: 6 | post: "The operation returns the following results:" 7 | --- 8 | ref: one-second 9 | pre: | 10 | Grouping the documents by the ``item`` field, the following operation 11 | uses the :group:`$first` accumulator to compute the first sales date for 12 | each item: 13 | post: "The operation returns the following results:" 14 | ... 15 | -------------------------------------------------------------------------------- /giza/giza/libgiza/test/data-inheritance/example-add-three.yaml: -------------------------------------------------------------------------------- 1 | ref: three-first 2 | source: 3 | file: example-add-two.yaml 4 | ref: two-second 5 | --- 6 | ref: three-second 7 | pre: | 8 | Grouping the documents by the ``item`` field, the following operation 9 | uses the :group:`$first` accumulator to compute the first sales date for 10 | each item: 11 | post: "The operation returns the following results:" 12 | ... 13 | -------------------------------------------------------------------------------- /giza/giza/libgiza/test/data-inheritance/example-add-two.yaml: -------------------------------------------------------------------------------- 1 | ref: two-first 2 | pre: | 3 | Grouping the documents by the ``item`` field, the following operation 4 | uses the :group:`$first` accumulator to compute the first sales date for 5 | each item: 6 | post: "The operation returns the following results:" 7 | --- 8 | ref: two-second 9 | pre: | 10 | Grouping the documents by the ``item`` field, the following operation 11 | uses the :group:`$first` accumulator to compute the first sales date for 12 | each item: 13 | post: "The operation returns the following results:" 14 | ... 15 | -------------------------------------------------------------------------------- /giza/giza/operations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/operations/__init__.py -------------------------------------------------------------------------------- /giza/giza/operations/changelog.py: -------------------------------------------------------------------------------- 1 | import logging 2 | import argh 3 | 4 | logger = logging.getLogger('giza.jeerah.client') 5 | 6 | 7 | @argh.expects_obj 8 | @argh.arg("changelog_version", default=None) 9 | @argh.named("cl") 10 | def main(args): 11 | pass 12 | -------------------------------------------------------------------------------- /giza/giza/quickstart/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | docs-tools 3 | source/includes/hash.rst 4 | -------------------------------------------------------------------------------- /giza/giza/quickstart/config/build_conf.yaml: -------------------------------------------------------------------------------- 1 | git: 2 | remote: 3 | upstream: 'example/docs' 4 | tools: 'mongodb/docs-tools' 5 | project: 6 | name: 'manual' 7 | tag: 'manual' 8 | url: 'http://docs.example.org' 9 | title: 'Manual' 10 | branched: true 11 | siteroot: true 12 | version: 13 | release: '0.0.0' 14 | branch: '0.0' 15 | system: 16 | make: 17 | generated: 18 | - 'meta' 19 | - 'integration' 20 | - 'push' 21 | - 'sphinx' 22 | static: 23 | - 'makefile.compatibility' 24 | - 'makefile.clean' 25 | - 'makefile.dtf' 26 | files: 27 | - 'intersphinx.yaml' 28 | - 'push.yaml' 29 | - 'pdfs.yaml' 30 | - 'sphinx_local.yaml' 31 | # - images: '/source/images/metadata.yaml' 32 | # - includes: '/source/includes/metadata.yaml' 33 | assets: 34 | - branch: master 35 | path: build/docs-tools 36 | repository: https://github.com/mongodb/docs-tools.git 37 | paths: 38 | output: 'build' 39 | source: 'source' 40 | includes: 'source/includes' 41 | images: 'source/images' 42 | tools: 'bin' 43 | buildsystem: 'build/docs-tools' 44 | builddata: 'config' 45 | locale: 'locale' 46 | ... -------------------------------------------------------------------------------- /giza/giza/quickstart/config/integration.yaml: -------------------------------------------------------------------------------- 1 | fr: 2 | inherit: base 3 | es: 4 | inherit: base 5 | ja: 6 | inherit: base 7 | zh: 8 | inherit: base 9 | it: 10 | inherit: base 11 | base: 12 | links: [] 13 | targets: 14 | - 'latex' 15 | - 'json' 16 | - 'singlehtml' 17 | - 'html' 18 | - 'man' 19 | - 'epub' 20 | - 'dirhtml' 21 | doc-root: 22 | - 'sitemap.xml' 23 | - 'osd.xml' 24 | branch-root: null 25 | -------------------------------------------------------------------------------- /giza/giza/quickstart/config/intersphinx.yaml: -------------------------------------------------------------------------------- 1 | name: pymongo 2 | url: http://api.mongodb.org/python/current/ 3 | path: pymongo.inv 4 | --- 5 | name: metadriver 6 | url: http://docs.mongodb.org/meta-driver/latest/ 7 | path: metadriver.inv 8 | --- 9 | name: python 10 | url: https://docs.python.org/2/ 11 | path: python2.inv 12 | --- 13 | name: python2 14 | url: https://docs.python.org/2/ 15 | path: python2.inv 16 | --- 17 | name: python3 18 | url: https://docs.python.org/3/ 19 | path: python3.inv 20 | --- 21 | name: sphinx 22 | url: http://sphinx-doc.org/ 23 | path: sphinx.inv 24 | --- 25 | name: django 26 | url: https://django.readthedocs.org/en/latest/ 27 | path: django.inv 28 | --- 29 | # name: djangomongodbengine 30 | # url: http://django-mongodb.org/ 31 | # path: djangomongodb.inv 32 | # --- 33 | name: djangotoolbox 34 | url: http://djangotoolbox.readthedocs.org/en/latest/ 35 | path: djangotoolbox.inv 36 | --- 37 | name: mongodb 38 | url: http://docs.mongodb.org/manual/ 39 | path: mongodb.inv 40 | ... 41 | -------------------------------------------------------------------------------- /giza/giza/quickstart/config/pdfs.yaml: -------------------------------------------------------------------------------- 1 | source: 'index' 2 | title: 'Manual' 3 | output: 'manual.tex' 4 | author: 'MongoDB Documentation Project' 5 | class: 'howto' 6 | tag: 'guide' 7 | ... -------------------------------------------------------------------------------- /giza/giza/quickstart/config/push.yaml: -------------------------------------------------------------------------------- 1 | target: push 2 | paths: 3 | remote: /data/sites/docs 4 | local: public 5 | static: [ 'manual', '.htaccess', 'sitemap.xml.gz' ] 6 | options: [ 'branched', 'recursive' ] 7 | env: publication 8 | dependency: push-if-up-to-date 9 | --- 10 | target: stage 11 | paths: 12 | remote: /srv/public/test 13 | local: public 14 | static: [ 'manual', 'sitemap.xml.gz' ] 15 | options: [ 'branched', 'recursive' ] 16 | env: staging 17 | dependency: stage-if-up-to-date 18 | ... 19 | -------------------------------------------------------------------------------- /giza/giza/quickstart/config/sphinx_local.yaml: -------------------------------------------------------------------------------- 1 | project: 'manual' 2 | master_doc: 'index' 3 | logo: ".static/logo.png" 4 | paths: 5 | static: ['source/.static'] 6 | theme: 7 | name: 'manual' 8 | project: 'manual' 9 | google_analytics: 'UA-0000000-0' 10 | book_path_base: 'Manual' 11 | repo: 'docs' 12 | jira: 'DOCS' 13 | sitename: 'Docs' 14 | nav_excluded: [] 15 | sidebars: 16 | '**': 17 | - 'pagenav.html' 18 | ... -------------------------------------------------------------------------------- /giza/giza/quickstart/makefile: -------------------------------------------------------------------------------- 1 | MAKEFLAGS += -j -r --no-print-directory 2 | 3 | %: 4 | giza make $@ 5 | 6 | help: 7 | @echo "Use 'make ', where is a Sphinx target (e.g. 'html', 'latex')" 8 | @echo "See 'http://docs.mongodb.org/manual/meta' for more information." 9 | 10 | -------------------------------------------------------------------------------- /giza/giza/quickstart/source/.static/.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/quickstart/source/.static/.stub -------------------------------------------------------------------------------- /giza/giza/quickstart/source/index.txt: -------------------------------------------------------------------------------- 1 | ======== 2 | Welcome! 3 | ======== 4 | 5 | Welcome to this new docs site! 6 | -------------------------------------------------------------------------------- /giza/giza/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/giza/tools/__init__.py -------------------------------------------------------------------------------- /giza/giza/tools/timing.py: -------------------------------------------------------------------------------- 1 | # Copyright 2014 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | import logging 16 | import time 17 | 18 | logger = logging.getLogger('giza.tools.timing') 19 | 20 | 21 | class Timer(): 22 | 23 | def __init__(self, name=None): 24 | if name is None: 25 | self.name = 'task' 26 | else: 27 | self.name = name 28 | 29 | def __enter__(self): 30 | self.start = time.time() 31 | 32 | def __exit__(self, *args): 33 | logger.debug('time elapsed for "{0}" was: {1}'.format( 34 | self.name, str(time.time() - self.start))) 35 | -------------------------------------------------------------------------------- /giza/makefile: -------------------------------------------------------------------------------- 1 | nosetests: 2 | @echo "[testing] running nosetests" 3 | nosetests -w ./test 4 | ifeq ($(shell test -f /etc/arch-release && echo arch || echo Linux),arch) 5 | nosetests2 -w ./test 6 | endif 7 | 8 | pyflakes: 9 | @echo "[testing] running pyflakes:" 10 | pyflakes giza 11 | 12 | pep8: 13 | @echo "[testing] running pep8: " 14 | pep8 --max-line-length=100 giza 15 | 16 | test:nosetests pyflakes pep8 17 | @echo "[testing]: completed all tests" 18 | 19 | release: 20 | ifeq ($(shell test -f /etc/arch-release && echo arch || echo Linux),arch) 21 | python2 setup.py sdist upload 22 | else 23 | python setup.py sdist upload 24 | endif 25 | -------------------------------------------------------------------------------- /giza/requirements.txt: -------------------------------------------------------------------------------- 1 | alabaster==0.7.12 2 | argh==0.26.2 3 | asn1crypto==0.24.0 4 | Babel==2.9.1 5 | certifi==2019.6.16 6 | cffi==1.12.3 7 | chardet==3.0.4 8 | Click==7.0 9 | cryptography==3.2 10 | defusedxml==0.6.0 11 | docutils==0.14 12 | enum34==1.1.6 13 | fett==0.3.2 14 | giza==0.5.18 15 | hieroglyph==1.0.0 16 | idna==2.8 17 | imagesize==1.1.0 18 | ipaddress==1.0.22 19 | Jinja2==2.11.3 20 | jira==2.0.0 21 | jsx-lexer==0.0.7 22 | MarkupSafe==1.1.1 23 | oauthlib==3.0.1 24 | onetimepass==1.0.1 25 | packaging==19.0 26 | pbr==5.3.1 27 | polib==1.1.0 28 | pycparser==2.19 29 | Pygments==2.4.2 30 | PyJWT==1.7.1 31 | pyparsing==2.4.0 32 | python-dateutil==2.8.0 33 | pytz==2019.1 34 | PyYAML==5.4 35 | requests==2.22.0 36 | requests-oauthlib==1.2.0 37 | requests-toolbelt==0.9.1 38 | rstcloth==0.2.6 39 | six==1.12.0 40 | snowballstemmer==1.9.0 41 | Sphinx==1.6.6 42 | sphinx-intl==1.0.0 43 | sphinxcontrib-httpdomain==1.7.0 44 | sphinxcontrib-websupport==1.1.2 45 | typing==3.7.4 46 | urllib3==1.26.5 47 | Wand==0.5.4 48 | -------------------------------------------------------------------------------- /giza/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/giza/test/__init__.py -------------------------------------------------------------------------------- /giza/test/data/extracts-one.yaml: -------------------------------------------------------------------------------- 1 | ref: _wt-fsync-lock-compatibility 2 | content: 3 | With WiredTiger the {{operation}} *cannot* guarantee that the data 4 | files do not change. As a result, do not use these methods to ensure 5 | consistency for the purposes of creating backups. 6 | ... -------------------------------------------------------------------------------- /giza/test/data/extracts-two.yaml: -------------------------------------------------------------------------------- 1 | ref: wt-fsync-lock-compatibility 2 | source: 3 | file: extracts-one.yaml 4 | ref: _wt-fsync-lock-compatibility 5 | replacement: 6 | operation: ":method:`db.fsyncLock()` and :method:`db.fsyncUnlock()` operations" 7 | --- 8 | ref: wt-fsync-lock-compatibility-command 9 | source: 10 | file: extracts-one.yaml 11 | ref: _wt-fsync-lock-compatibility 12 | replacement: 13 | operation: ":dbcommand:`fsync` command with the ``lock`` option" 14 | ... -------------------------------------------------------------------------------- /giza/test/data/release-one.yaml: -------------------------------------------------------------------------------- 1 | ref: _curl-release 2 | language: 'sh' 3 | code: | 4 | curl -O http://downloads.mongodb.org/{{platform}}/mongodb-{{platform}}-{{builder}}-{{version}}.tgz 5 | --- 6 | ref: _copy-release 7 | language: 'sh' 8 | code: | 9 | mkdir -p mongodb 10 | cp -R -n mongodb-{{platform}}-{{builder}}-{{version}}/ mongodb 11 | --- 12 | ref: _untar-release 13 | language: 'sh' 14 | code: | 15 | tar -zxvf mongodb-{{platform}}-{{builder}}-{{version}}.tgz 16 | --- 17 | ref: _curl-release-ent 18 | language: 'sh' 19 | code: | 20 | curl -O http://downloads.10gen.com/{{platform}}/mongodb-{{platform}}-{{builder}}-enterprise-{{distro}}-{{version}}.tgz 21 | tar -zxvf mongodb-{{platform}}-{{builder}}-enterprise-{{distro}}-{{version}}.tgz 22 | cp -R -n mongodb-{{platform}}-{{builder}}-enterprise-{{distro}}-{{version}}/ mongodb 23 | ... 24 | -------------------------------------------------------------------------------- /giza/test/data/steps-two.yaml: -------------------------------------------------------------------------------- 1 | stepnum: 1 2 | source: 3 | file: steps-one.yaml 4 | ref: copy-config-files 5 | ref: copy-config-files-windows 6 | action: 7 | language: powershell 8 | code: | 9 | md C:\snmp\etc\config 10 | copy MONGOD-MIB.txt C:\snmp\etc\config\MONGOD-MIB.txt 11 | copy mongod.conf.subagent C:\snmp\etc\config\mongod.conf 12 | post: | 13 | The configuration filename is tool-dependent. For example, when 14 | using ``net-snmp`` the configuration file is ``snmpd.conf``. 15 | 16 | Edit the configuration file to ensure that the communication 17 | between the agent (i.e. ``snmpd`` or the master) and sub-agent 18 | (i.e. MongoDB) uses TCP. 19 | --- 20 | stepnum: 2 21 | source: 22 | file: steps-one.yaml 23 | ref: start-with-snmp 24 | ref: start-snmp-on-windows 25 | action: 26 | language: powershell 27 | code: mongod.exe --snmp-subagent 28 | --- 29 | stepnum: 3 30 | source: 31 | file: steps-one.yaml 32 | ref: test-snmp 33 | action: 34 | language: powershell 35 | code: | 36 | snmpwalk -m C:\snmp\etc\config\MONGOD-MIB.txt -v 2c -c mongodb 127.0.0.1: 1.3.6.1.4.1.34601 37 | ... 38 | -------------------------------------------------------------------------------- /pharaoh/gizaext/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/gizaext/__init__.py -------------------------------------------------------------------------------- /pharaoh/gizaext/documentation/translate_baseline.yaml: -------------------------------------------------------------------------------- 1 | settings: 2 | foreign: es 3 | threads: 12 4 | pool_size: 40 5 | email: judah.schvimer@10gen.com 6 | phrase_table_name: phrase-table 7 | reordering_name: reordering-table 8 | train: 9 | dir: /home/judah/corpus/run00 10 | name: train.en-es 11 | tune: 12 | dir: /home/judah/corpus/run00 13 | name: tune.en-es 14 | test: 15 | dir: /home/judah/corpus/run00 16 | name: test.en-es 17 | paths: 18 | moses: /home/judah/mosesdecoder 19 | aux_corpus_files: /home/judah/corpus/helper 20 | irstlm: /home/judah/irstlm-5.80.03 21 | project: /home/judah/archive11 22 | parameters: 23 | order: 24 | - 3 25 | smoothing: 26 | - improved-kneser-ney 27 | score_options: 28 | - --GoodTuring 29 | alignment : 30 | - grow-diag-final-and 31 | reordering_modeltype: 32 | - wbe 33 | reordering_orientation: 34 | - msd 35 | reordering_directionality: 36 | - bidirectional 37 | reordering_language: 38 | - fe 39 | max_phrase_length: 40 | - 7 41 | -------------------------------------------------------------------------------- /pharaoh/gizaext/documentation/translate_best.yaml: -------------------------------------------------------------------------------- 1 | settings: 2 | foreign: es 3 | threads: 12 4 | pool_size: 40 5 | email: judah.schvimer@10gen.com 6 | phrase_table_name: phrase-table 7 | reordering_name: reordering-table 8 | train: 9 | dir: /home/judah/corpus/run00 10 | name: train.en-es 11 | tune: 12 | dir: /home/judah/corpus/run00 13 | name: tune.en-es 14 | test: 15 | dir: /home/judah/corpus/run00 16 | name: test.en-es 17 | paths: 18 | moses: /home/judah/mosesdecoder 19 | aux_corpus_files: /home/judah/corpus/helper 20 | irstlm: /home/judah/irstlm-5.80.03 21 | project: /home/judah/archive11 22 | parameters: 23 | order: 24 | - 3 25 | smoothing: 26 | - improved-kneser-ney 27 | score_options: 28 | - --GoodTuring 29 | alignment : 30 | - grow-diag-final-and 31 | reordering_modeltype: 32 | - hier 33 | - phrase 34 | reordering_orientation: 35 | - mslr 36 | - msd 37 | reordering_directionality: 38 | - bidirectional 39 | reordering_language: 40 | - fe 41 | max_phrase_length: 42 | - 7 43 | -------------------------------------------------------------------------------- /pharaoh/gizaext/protected.re: -------------------------------------------------------------------------------- 1 | <.*> 2 | :.*: 3 | \|.*\| 4 | ``.*`` 5 | `.*` 6 | -------------------------------------------------------------------------------- /pharaoh/pharaoh/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2014 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = '0.0.1-dev' 16 | -------------------------------------------------------------------------------- /pharaoh/pharaoh/app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/pharaoh/app/__init__.py -------------------------------------------------------------------------------- /pharaoh/pharaoh/app/flask_app.py: -------------------------------------------------------------------------------- 1 | # Copyright 2014 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | import os 16 | 17 | from flask import Flask 18 | from flask_environments import Environments 19 | from pymongo import MongoClient 20 | 21 | app = Flask(__name__) 22 | env = Environments(app) 23 | env.from_yaml(os.path.join(os.path.abspath(os.path.join('..', os.path.dirname(__file__))), '..', 'config.yaml')) 24 | 25 | mongodb = MongoClient(app.config['MONGO_HOST'], app.config['MONGO_PORT']) 26 | db = mongodb[app.config['MONGO_DBNAME']] 27 | -------------------------------------------------------------------------------- /pharaoh/pharaoh/app/logging.conf: -------------------------------------------------------------------------------- 1 | 2 | [loggers] 3 | keys=root, gunicorn.error, gunicorn.access 4 | 5 | [handlers] 6 | keys=console, error_file, access_file 7 | 8 | [formatters] 9 | keys=generic, access 10 | 11 | [logger_root] 12 | level=INFO 13 | handlers=console 14 | 15 | [logger_gunicorn.error] 16 | level=INFO 17 | handlers=error_file 18 | propagate=1 19 | qualname=gunicorn.error 20 | 21 | [logger_gunicorn.access] 22 | level=INFO 23 | handlers=access_file 24 | propagate=0 25 | qualname=gunicorn.access 26 | 27 | [handler_console] 28 | class=StreamHandler 29 | formatter=generic 30 | args=(sys.stdout, ) 31 | 32 | [handler_error_file] 33 | class=StreamHandler 34 | formatter=generic 35 | args=(sys.stdout,) 36 | 37 | [handler_access_file] 38 | class=StreamHandler 39 | formatter=access 40 | args=(sys.stdout,) 41 | 42 | [formatter_generic] 43 | format=%(asctime)s [%(process)d] [%(levelname)s] %(message)s 44 | datefmt=%Y-%m-%d %H:%M:%S 45 | class=logging.Formatter 46 | 47 | [formatter_access] 48 | format=%(message)s 49 | class=logging.Formatter -------------------------------------------------------------------------------- /pharaoh/pharaoh/app/static/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/pharaoh/app/static/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /pharaoh/pharaoh/app/static/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/pharaoh/app/static/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /pharaoh/pharaoh/app/static/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/pharaoh/app/static/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /pharaoh/pharaoh/app/static/javascript/sorttable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/pharaoh/app/static/javascript/sorttable.js -------------------------------------------------------------------------------- /pharaoh/pharaoh/app/templates/423.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block title %}423 Error{% endblock %} 3 | {% block content %} 4 | {{file}} is already being edited by somebody else, please consider editing a different file 5 |
6 | {{language}} Files 7 | {% endblock %} -------------------------------------------------------------------------------- /pharaoh/pharaoh/app/templates/base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Translation Pipeline 5 | 6 | 7 | 8 | 9 | 10 | {% block header %} 11 | {% endblock %} 12 | 13 | 14 |
{% block content %}{% endblock %}
15 | 20 | 21 | -------------------------------------------------------------------------------- /pharaoh/pharaoh/app/templates/language_picker.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block title %}Language Picker{% endblock %} 3 | {% block content %} 4 | 16 | 17 | {% endblock %} -------------------------------------------------------------------------------- /pharaoh/pharaoh/app/templates/pagination.html: -------------------------------------------------------------------------------- 1 | {% macro render_pagination(pagination) %} 2 | 25 | {% endmacro %} -------------------------------------------------------------------------------- /pharaoh/pharaoh/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright 2014 MongoDB, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | APPROVAL_THRESHOLD: 2 17 | MONGO_PORT: 27019 18 | MONGO_HOST: 'localhost' 19 | MONGO_DBNAME: 'veritest' 20 | NUM_FILES_PER_PAGE: 20 21 | SESSION_LENGTH: 1 22 | DEBUG: False 23 | WORKERS: 1 24 | -------------------------------------------------------------------------------- /pharaoh/setup.py: -------------------------------------------------------------------------------- 1 | import pharaoh 2 | 3 | from setuptools import setup, find_packages 4 | 5 | REQUIRES = ['argh', 'polib', 'flask', 'gunicorn', 'pymongo', 'pyyaml', 6 | 'flask-environments'] 7 | 8 | setup( 9 | name='pharaoh', 10 | maintainer='tychoish', 11 | maintainer_email='sam@tychoish.com', 12 | author='judahschvimer', 13 | author_email='judah.schvimer@mongodb.com', 14 | description='PO File Translation Verification Web App', 15 | version=pharaoh.__version__, 16 | license='Apache 2.0', 17 | url='http://github.com/mongodb/docs-tools.git', 18 | packages=find_packages(), 19 | test_suite=None, 20 | install_requires=REQUIRES, 21 | classifiers=[ 22 | 'Environment :: Console', 23 | 'Intended Audience :: Developers', 24 | 'Topic :: Documentation', 25 | 'Topic :: Software Development :: Testing', 26 | 'Programming Language :: Python', 27 | 'Programming Language :: Python :: 2', 28 | 'License :: OSI Approved :: Apache Software License', 29 | ], 30 | entry_points={ 31 | 'console_scripts': [ 32 | 'pharaoh = pharaoh.cmdline:main', 33 | ], 34 | }, 35 | ) 36 | -------------------------------------------------------------------------------- /pharaoh/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/test/__init__.py -------------------------------------------------------------------------------- /pharaoh/test/configs_test/bad_file_corpus.yaml: -------------------------------------------------------------------------------- 1 | container_path: temp_files 2 | source_language: en 3 | target_language: es 4 | sources: 5 | - name: small 6 | source_file_path: test_files/smaldjflkdahjfklal.en 7 | target_file_path: test_files/small.es 8 | percent_train: 100 9 | percent_test: 0 10 | percent_tune: 0 11 | - name: medium 12 | source_file_path: test_files/medium.en 13 | target_file_path: test_files/medium.es 14 | percent_train: 30 15 | percent_test: 40 16 | percent_tune: 30 17 | source_contributions: 18 | train: 19 | - name: small 20 | percent_of_corpus: 25 21 | - name: medium 22 | percent_of_corpus: 75 23 | test: 24 | - name: medium 25 | percent_of_corpus: 100 26 | tune: 27 | - name: medium 28 | percent_of_corpus: 100 29 | -------------------------------------------------------------------------------- /pharaoh/test/configs_test/bad_perc_corpora.yaml: -------------------------------------------------------------------------------- 1 | container_path: temp_files 2 | source_language: en 3 | target_language: es 4 | sources: 5 | - name: small 6 | source_file_path: test_files/small.en 7 | target_file_path: test_files/small.es 8 | percent_train: 100 9 | percent_test: 0 10 | percent_tune: 0 11 | - name: medium 12 | source_file_path: test_files/medium.en 13 | target_file_path: test_files/medium.es 14 | percent_train: 30 15 | percent_test: 40 16 | percent_tune: 30 17 | source_contributions: 18 | train: 19 | - name: small 20 | percent_of_corpus: 25 21 | - name: medium 22 | percent_of_corpus: 85 23 | test: 24 | - name: medium 25 | percent_of_corpus: 100 26 | tune: 27 | - name: medium 28 | percent_of_corpus: 100 29 | -------------------------------------------------------------------------------- /pharaoh/test/configs_test/bad_perc_corpora2.yaml: -------------------------------------------------------------------------------- 1 | container_path: temp_files 2 | source_language: en 3 | target_language: es 4 | sources: 5 | - name: small 6 | source_file_path: test_files/small.en 7 | target_file_path: test_files/small.es 8 | percent_train: 100 9 | percent_test: 20 10 | percent_tune: 0 11 | - name: medium 12 | source_file_path: test_files/medium.en 13 | target_file_path: test_files/medium.es 14 | percent_train: 30 15 | percent_test: 40 16 | percent_tune: 30 17 | source_contributions: 18 | train: 19 | - name: small 20 | percent_of_corpus: 25 21 | - name: medium 22 | percent_of_corpus: 75 23 | test: 24 | - name: medium 25 | percent_of_corpus: 100 26 | tune: 27 | - name: medium 28 | percent_of_corpus: 100 29 | -------------------------------------------------------------------------------- /pharaoh/test/configs_test/bad_perc_corpora3.yaml: -------------------------------------------------------------------------------- 1 | container_path: temp_files 2 | source_language: en 3 | target_language: es 4 | sources: 5 | - name: small 6 | source_file_path: test_files/small.en 7 | target_file_path: test_files/small.es 8 | percent_train: 100 9 | percent_test: -6 10 | percent_tune: 0 11 | - name: medium 12 | source_file_path: test_files/medium.en 13 | target_file_path: test_files/medium.es 14 | percent_train: 30 15 | percent_test: 40 16 | percent_tune: 30 17 | source_contributions: 18 | train: 19 | - name: small 20 | percent_of_corpus: 25 21 | - name: medium 22 | percent_of_corpus: 75 23 | test: 24 | - name: medium 25 | percent_of_corpus: 100 26 | tune: 27 | - name: medium 28 | percent_of_corpus: 100 29 | -------------------------------------------------------------------------------- /pharaoh/test/configs_test/even_corpora.yaml: -------------------------------------------------------------------------------- 1 | container_path: temp_files 2 | source_language: en 3 | target_language: es 4 | sources: 5 | - name: small 6 | source_file_path: test_files/small.en 7 | target_file_path: test_files/small.es 8 | percent_train: 100 9 | percent_test: 0 10 | percent_tune: 0 11 | - name: medium 12 | source_file_path: test_files/medium.en 13 | target_file_path: test_files/medium.es 14 | percent_train: 30 15 | percent_test: 40 16 | percent_tune: 30 17 | source_contributions: 18 | train: 19 | - name: small 20 | percent_of_corpus: 25 21 | - name: medium 22 | percent_of_corpus: 75 23 | test: 24 | - name: medium 25 | percent_of_corpus: 100 26 | tune: 27 | - name: medium 28 | percent_of_corpus: 100 29 | -------------------------------------------------------------------------------- /pharaoh/test/configs_test/hidden_corpora.yaml: -------------------------------------------------------------------------------- 1 | container_path: temp_files 2 | source_language: en 3 | target_language: es 4 | sources: 5 | - name: small 6 | source_file_path: test_files/small.en 7 | target_file_path: test_files/small.es 8 | percent_train: 100 9 | percent_test: 0 10 | percent_tune: 0 11 | - name: medium 12 | source_file_path: test_files/medium.en 13 | target_file_path: test_files/medium.es 14 | percent_train: 30 15 | percent_test: 30 16 | percent_tune: 40 17 | source_contributions: 18 | train: 19 | - name: small 20 | percent_of_corpus: 25 21 | - name: medium 22 | percent_of_corpus: 75 23 | test: 24 | - name: small 25 | percent_of_corpus: 100 26 | tune: 27 | - name: small 28 | percent_of_corpus: 100 29 | -------------------------------------------------------------------------------- /pharaoh/test/configs_test/one_corpus.yaml: -------------------------------------------------------------------------------- 1 | container_path: temp_files 2 | source_language: en 3 | target_language: es 4 | sources: 5 | - name: small 6 | source_file_path: test_files/small.en 7 | target_file_path: test_files/small.es 8 | percent_train: 100 9 | percent_test: 0 10 | percent_tune: 0 11 | source_contributions: 12 | train: 13 | - name: small 14 | percent_of_corpus: 100 15 | test: 16 | - name: small 17 | percent_of_corpus: 100 18 | tune: 19 | - name: small 20 | percent_of_corpus: 100 21 | -------------------------------------------------------------------------------- /pharaoh/test/configs_test/uneven_corpora.yaml: -------------------------------------------------------------------------------- 1 | container_path: temp_files 2 | source_language: en 3 | target_language: es 4 | sources: 5 | - name: large 6 | source_file_path: test_files/large.en 7 | target_file_path: test_files/large.es 8 | percent_train: 75 9 | percent_tune: 20 10 | percent_test: 5 11 | - name: medium 12 | source_file_path: test_files/medium.en 13 | target_file_path: test_files/medium.es 14 | percent_train: 30 15 | percent_tune: 40 16 | percent_test: 30 17 | source_contributions: 18 | train: 19 | - name: large 20 | percent_of_corpus: 50 21 | - name: medium 22 | percent_of_corpus: 50 23 | tune: 24 | - name: large 25 | percent_of_corpus: 40 26 | - name: medium 27 | percent_of_corpus: 60 28 | test: 29 | - name: large 30 | percent_of_corpus: 40 31 | - name: medium 32 | percent_of_corpus: 60 33 | -------------------------------------------------------------------------------- /pharaoh/test/test_files/about.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) 2011-2014, MongoDB, Inc. 3 | # This file is distributed under the same license as the mongodb-manual package. 4 | # 5 | # Translators: 6 | # Jorge Puente Sarrín , 2014 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: MongoDB Manual\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2014-04-08 13:03-0400\n" 12 | "PO-Revision-Date: 2014-03-05 23:49+0000\n" 13 | "Last-Translator: Jorge Puente Sarrín \n" 14 | "Language-Team: Spanish (http://www.transifex.com/projects/p/mongodb-manual/language/es/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: es\n" 19 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 20 | 21 | # 35052e77cbb04e5c8e0b6c5b22a3b355 22 | #: ../source/about.txt:5 23 | msgid "About MongoDB Documentation" 24 | msgstr "Acerca de la documentacion de MongoDB" 25 | 26 | # 391a61e423644e5a8374f935eb876d8d 27 | #: ../source/about.txt:21 28 | msgid "License" 29 | msgstr "Licencia" 30 | -------------------------------------------------------------------------------- /pharaoh/test/test_files/doc_filler.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 -------------------------------------------------------------------------------- /pharaoh/test/test_files/empty.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/test/test_files/empty.txt -------------------------------------------------------------------------------- /pharaoh/test/test_files/f1: -------------------------------------------------------------------------------- 1 | 1a 2 | 1b 3 | 4 | 1c -------------------------------------------------------------------------------- /pharaoh/test/test_files/f2: -------------------------------------------------------------------------------- 1 | 2a 2 | 2b 3 | 2c 4 | 2d 5 | 2e 6 | 2f -------------------------------------------------------------------------------- /pharaoh/test/test_files/f3: -------------------------------------------------------------------------------- 1 | 3a 2 | 3b 3 | 3c -------------------------------------------------------------------------------- /pharaoh/test/test_files/files.json: -------------------------------------------------------------------------------- 1 | {"files": [{ 2 | "_id" : "f1", 3 | "source_language" : "en", 4 | "priority" : 0, 5 | "file_path" : "LC_MESSAGES/about", 6 | "target_language" : "es" 7 | }, 8 | { 9 | "_id" : "f2", 10 | "source_language" : "en", 11 | "priority" : 0, 12 | "file_path" : "LC_MESSAGES/installation", 13 | "target_language" : "es" 14 | }, 15 | { 16 | "_id" : "f3", 17 | "source_language" : "en", 18 | "priority" : 0, 19 | "file_path" : "LC_MESSAGES/contents", 20 | "target_language" : "es" 21 | } 22 | ]} -------------------------------------------------------------------------------- /pharaoh/test/test_files/flip_text.txt: -------------------------------------------------------------------------------- 1 | hello, judah 2 | hi, how are you 3 | 4 | a 5 | bc 6 | good -------------------------------------------------------------------------------- /pharaoh/test/test_files/flipped.txt: -------------------------------------------------------------------------------- 1 | haduj ,olleh 2 | uoy era woh ,ih 3 | 4 | a 5 | cb 6 | doog 7 | -------------------------------------------------------------------------------- /pharaoh/test/test_files/large.en: -------------------------------------------------------------------------------- 1 | e1-l 2 | e2-l 3 | e3-l 4 | e4-l 5 | e5-l 6 | e6-l 7 | e7-l 8 | e8-l 9 | e9-l 10 | e10-l 11 | e11-l 12 | e12-l 13 | e13-l 14 | e14-l 15 | e15-l 16 | e16-l 17 | e17-l 18 | e18-l 19 | e19-l 20 | e20-l -------------------------------------------------------------------------------- /pharaoh/test/test_files/large.es: -------------------------------------------------------------------------------- 1 | s1-l 2 | s2-l 3 | s3-l 4 | s4-l 5 | s5-l 6 | s6-l 7 | s7-l 8 | s8-l 9 | s9-l 10 | s10-l 11 | s11-l 12 | s12-l 13 | s13-l 14 | s14-l 15 | s15-l 16 | s16-l 17 | s17-l 18 | s18-l 19 | s19-l 20 | s20-l -------------------------------------------------------------------------------- /pharaoh/test/test_files/medium.en: -------------------------------------------------------------------------------- 1 | e1-m 2 | e2-m 3 | e3-m 4 | e4-m 5 | e5-m 6 | e6-m 7 | e7-m 8 | e8-m 9 | e9-m 10 | e10-m -------------------------------------------------------------------------------- /pharaoh/test/test_files/medium.es: -------------------------------------------------------------------------------- 1 | s1-m 2 | s2-m 3 | s3-m 4 | s4-m 5 | s5-m 6 | s6-m 7 | s7-m 8 | s8-m 9 | s9-m 10 | s10-m -------------------------------------------------------------------------------- /pharaoh/test/test_files/merged.txt: -------------------------------------------------------------------------------- 1 | + 1a 2 | - 2a 3 | ~ 3a 4 | 5 | + 1b 6 | - 2b 7 | ~ 3b 8 | 9 | + 10 | - 2c 11 | ~ 3c 12 | 13 | + 1c 14 | - 2d 15 | 16 | -------------------------------------------------------------------------------- /pharaoh/test/test_files/small.en: -------------------------------------------------------------------------------- 1 | hello -------------------------------------------------------------------------------- /pharaoh/test/test_files/small.es: -------------------------------------------------------------------------------- 1 | hola -------------------------------------------------------------------------------- /pharaoh/test/test_files/test_dir/d1/f4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/test/test_files/test_dir/d1/f4.txt -------------------------------------------------------------------------------- /pharaoh/test/test_files/test_dir/f1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/test/test_files/test_dir/f1.txt -------------------------------------------------------------------------------- /pharaoh/test/test_files/test_dir/f2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/test/test_files/test_dir/f2.txt -------------------------------------------------------------------------------- /pharaoh/test/test_files/test_dir/f3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/test/test_files/test_dir/f3 -------------------------------------------------------------------------------- /pharaoh/test/test_files/test_dir/f5.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/pharaoh/test/test_files/test_dir/f5.yaml -------------------------------------------------------------------------------- /pharaoh/test/test_files/users.json: -------------------------------------------------------------------------------- 1 | {"users":[ 2 | { 3 | "_id" : "u1", 4 | "username" : "Moses", 5 | "num_got_approved" : 0, 6 | "num_reviewed" : 0, 7 | "num_user_approved" : 0, 8 | "trust_level" : "basic" 9 | }, 10 | { 11 | "_id" : "u2", 12 | "username" : "Judah", 13 | "num_got_approved" : 0, 14 | "num_reviewed" : 0, 15 | "num_user_approved" : 0, 16 | "trust_level" : "basic" 17 | }, 18 | { 19 | "_id" : "u3", 20 | "username" : "Wisdom", 21 | "num_got_approved" : 0, 22 | "num_reviewed" : 0, 23 | "num_user_approved" : 0, 24 | "trust_level" : "basic" 25 | }, 26 | { 27 | "_id" : "u4", 28 | "username" : "Sam", 29 | "num_got_approved" : 0, 30 | "num_reviewed" : 0, 31 | "num_user_approved" : 0, 32 | "trust_level" : "basic" 33 | } 34 | ]} -------------------------------------------------------------------------------- /sphinxext/accordion.py: -------------------------------------------------------------------------------- 1 | import template 2 | 3 | ACCORDION_TEMPLATE = ''' 4 | .. raw:: html 5 | 6 |
7 |
8 | {{title}} 9 | Expand 10 |
11 | 12 |
13 | 14 | .. container:: 15 | 16 | {{body}} 17 | 18 | .. raw:: html 19 | 20 |
21 |
22 | ''' 23 | 24 | 25 | def setup(app): 26 | app.add_directive('accordion', template.create_directive('accordion', ACCORDION_TEMPLATE, template.BUILT_IN_PATH, False)) 27 | 28 | return { 29 | 'parallel_read_safe': True, 30 | 'parallel_write_safe': True, 31 | } 32 | -------------------------------------------------------------------------------- /sphinxext/eval.py: -------------------------------------------------------------------------------- 1 | """ 2 | A simple role for dynamically generating snippets of content. 3 | 4 | Usage: 5 | :eval:`` 6 | 7 | The python expression has access to the following modules: 8 | * datetime 9 | """ 10 | import datetime 11 | from docutils import nodes 12 | 13 | 14 | def eval_role(typ, rawtext, text, lineno, inliner, options={}, content=[]): 15 | text = str(eval(text, { 16 | 'datetime': datetime 17 | })) 18 | 19 | node = nodes.Text(text) 20 | return [node], [] 21 | 22 | 23 | def setup(app): 24 | from docutils.parsers.rst import roles 25 | roles.register_local_role('eval', eval_role) 26 | 27 | return { 28 | 'parallel_read_safe': True, 29 | 'parallel_write_safe': True, 30 | } 31 | -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/docs-tools/32b76e66d7a8b1fea57d5f9d09c6f6c2d66f8327/test/__init__.py -------------------------------------------------------------------------------- /test/test_giza.py: -------------------------------------------------------------------------------- 1 | import giza.configuration 2 | 3 | from unittest import TestCase 4 | 5 | class TestGiza(TestCase): 6 | @classmethod 7 | def setUp(self): 8 | self.conf = giza.configuration.Configuration() 9 | 10 | self.result = [ 1, 1, 2, 3, 5, 8 ] 11 | 12 | def test_baseline(self): 13 | self.conf.baseline = [ 1, 1, 2, 3, 5, 8 ] 14 | 15 | self.assertEqual(self.result, self.conf.baseline) 16 | 17 | def test_subdoc_type(self): 18 | self.conf.base = 1 19 | 20 | self.assertEqual(self.conf.base, 1) 21 | -------------------------------------------------------------------------------- /themes/bi-connector/footer.html: -------------------------------------------------------------------------------- 1 |