mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00

These docs were already present when running `mach storybook` but were not hooked up to Firefox Source Docs. I also moved the files to a docs/ directory so that the folder structure is more clear. I also changed the post-it notes layout to images so that the styling would be consistent between Storybook and Firefox Source Docs. As part of this, I added alt text to each graphic so that we weren't losing information. Differential Revision: https://phabricator.services.mozilla.com/D206070
34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
# Theme Selection
|
|
#
|
|
# Shared (toolkit/themes/shared/) is always included.
|
|
#
|
|
# MacOS X osx (toolkit/themes/osx)
|
|
# Windows windows (toolkit/themes/windows) +
|
|
# non-mac (toolkit/themes/shared/non-mac)
|
|
# GNOME/Linux linux (toolkit/themes/linux)
|
|
# non-mac (toolkit/themes/shared/non-mac)
|
|
# mobile native UIs that do not use XUL for UI
|
|
|
|
toolkit = CONFIG["MOZ_WIDGET_TOOLKIT"]
|
|
app = CONFIG["MOZ_BUILD_APP"]
|
|
|
|
if toolkit == "cocoa":
|
|
DIRS += ["osx"]
|
|
elif toolkit == "gtk":
|
|
DIRS += ["linux"]
|
|
elif app == "mobile/android":
|
|
DIRS += ["mobile"]
|
|
else:
|
|
DIRS += ["windows"]
|
|
|
|
with Files("**"):
|
|
BUG_COMPONENT = ("Toolkit", "Themes")
|
|
|
|
SPHINX_TREES["shared/design-system/docs"] = "shared/design-system/docs"
|