Skip to content

Commit

Permalink
Initial import (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliok committed Jun 15, 2023
1 parent 977f351 commit ee2e44f
Show file tree
Hide file tree
Showing 48 changed files with 2,143 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/public
resources/
node_modules/
package-lock.json
.hugo_build.lock
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# How to Contribute

See [contribute-to-opentr.md](./content/tr/docs/about/contribute-to-opentr.md).
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
# opentr

<p align="center" width="100%">
<img src="./static/images/open-tr-logo-01-200x200-transparent.png" width="200" height="200" align="center" />
</p>

OpenTR provides open source strategy and guidance for organizations and individuals in Turkey.

For more information, visit our website: https://opentr.foundation

---

OpenTR, Türkiye'deki kuruluşlar ve bireyler için açık kaynak stratejisi ve rehberliği sağlayan bir oluşumdur.

Daha fazla bilgi için web sitemizi ziyaret edin: https://opentr.foundation

Bu repository, OpenTR web sitesinin kaynak kodunu içerir.

OpenTR'nin çalışmalarına katılmak için [OpenTR'ye katkı rehberimizi](https://opentr.foundation/docs/about/contribute-to-opentr/) inceleyebilir,
OpenTR ile iletişime geçmek için [iletişim sayfamızı](https://opentr.foundation/contact/) ziyaret edebilirsiniz.

---

![image info](./static/images/open-tr-banner-01-website.png)

---

The content of this project itself is licensed under the [CC BY 4.0 license](https://creativecommons.org/licenses/by/4.0/), and the underlying source code used to format and display that content is licensed under the [Apache 2.0 License](./LICENSE).

Bu projenin içeriği [CC BY 4.0 lisansı](https://creativecommons.org/licenses/by/4.0/) ile lisanslanmıştır. İçeriği biçimlendirmek ve göstermek için kullanılan temel kaynak kod [Apache 2.0 Lisansı](./LICENSE) ile lisanslanmıştır.
194 changes: 194 additions & 0 deletions assets/icons/logo-monochrome.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
191 changes: 191 additions & 0 deletions assets/icons/logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 64 additions & 0 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// See https://github.com/google/docsy/blob/main/assets/scss/_variables.scss
// See https://www.docsy.dev/docs/adding-content/lookandfeel/
// See https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss

.text-left {
text-align: left !important;
ul: {
text-align: left !important;
}
}

// logo font to use in the navbar
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro&display=swap');


.td-navbar {
background: white;
border-bottom: 1px solid $gray-400;
box-shadow: 2px 2px 2px $gray-400;

a {
color: $dark !important;
}

.td-search__icon, .td-search__input::placeholder {
color: $dark !important;
}

.td-search__input {
border: 1px solid #ccc;
}

.navbar-brand svg {
height: 50px;
}

.navbar-brand {
padding: 0;
}

.navbar-brand__name{
font-family: 'Maven Pro', sans-serif;
font-size: 1.5em;
}
}

footer {
min-height: auto;

svg {
height: 50px;
}

.brand__name{
font-family: 'Maven Pro', sans-serif;
font-size: 1.5em;
margin-left: 10px;
@extend .text-secondary;
}
}

.td-sidebar-toc{
padding-top: 1.75rem;
}
18 changes: 18 additions & 0 deletions assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
Add styles or override variables from the theme here.
*/
// See https://github.com/google/docsy/blob/main/assets/scss/_variables.scss
// See https://www.docsy.dev/docs/adding-content/lookandfeel/
// See https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss

$primary: #fe911b;
//$primary: #ff8c03;
$secondary: #e9ecef;
//$secondary: #fb923c;

$light: #ebfdf8 !default; // TODO: consider using BS value

$google_font_name: "Open Sans";
$google_font_family: "Open+Sans:300,300i,400,400i,700,700i";
241 changes: 241 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
baseURL = "https://opentr.foundation"
title = "OpenTR"

# Language settings
contentDir = "content/tr"
defaultContentLanguage = "tr"
defaultContentLanguageInSubdir = false
# Useful when translating.
enableMissingTranslationPlaceholders = true

enableRobotsTXT = true

# Will give values to .Lastmod etc.
enableGitInfo = true

# Comment out to enable taxonomies in Docsy
# disableKinds = ["taxonomy", "taxonomyTerm"]

# You can add your own taxonomies
[taxonomies]
tag = "tags"
category = "categories"

[params.taxonomy]
# set taxonomyCloud = [] to hide taxonomy clouds
taxonomyCloud = []

# If used, must have same length as taxonomyCloud
taxonomyCloudTitle = []

# set taxonomyPageHeader = [] to hide taxonomies on the page headers
taxonomyPageHeader = []


# Highlighting config
pygmentsCodeFences = true
pygmentsUseClasses = false
# Use the new Chroma Go highlighter in Hugo.
pygmentsUseClassic = false
#pygmentsOptions = "linenos=table"
# See https://help.farbox.com/pygments.html
pygmentsStyle = "tango"

# Configure how URLs look like per section.
[permalinks]
blog = "/:section/:year/:month/:day/:slug/"

# Image processing configuration.
[imaging]
resampleFilter = "CatmullRom"
quality = 75
anchor = "smart"

[services]
[services.googleAnalytics]
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
id = "G-SP3T9XWG2M"

# Language configuration

[languages.tr]
title = "OpenTR"
description = "OpenTR web sitesi"
languageName ="🇹🇷 Türkçe"
contentDir = "content/tr"
time_format_default = "02.01.2006"
time_format_blog = "02.01.2006"
# Weight used for sorting.
weight = 1

[languages]
[languages.en]
title = "OpenTR"
description = "OpenTR website"
languageName ="🇬🇧 English"
contentDir = "content/en"
# Weight used for sorting.
weight = 2

[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
# See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html
style = "tango"
# Uncomment if you want your chosen highlight style used for code blocks without a specified language
# guessSyntax = "true"

# Everything below this are Site Params

# Comment out if you don't want the "print entire section" link enabled.
# RSS is needed if you need print support.
# See https://www.docsy.dev/docs/adding-content/print/
[outputs]
section = ["HTML", "print", "RSS"]

[params]
# copyright = "The OpenTR Authors"

# No privacy policy
# privacy_policy = "https://policies.google.com/privacy"

# First one is picked as the Twitter card image if not set on page.
# images = ["images/project-illustration.png"]

# Menu title if your navbar has a versions selector to access old versions of your site.
# This menu appears only if you have at least one [params.versions] set.
version_menu = "Releases"

# Flag used in the "version-banner" partial to decide whether to display a
# banner on every page indicating that this is an archived version of the docs.
# Set this flag to "true" if you want to display the banner.
archived_version = false

# The version number for the version of the docs represented in this doc set.
# Used in the "version-banner" partial to display a version number for the
# current doc set.
version = "0.0"

# A link to latest version of the docs. Used in the "version-banner" partial to
# point people to the main doc site.
url_latest_version = "https://opentr.foundation"

# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
# TODO: to be updated
github_repo = "https://github.com/OpenTRFoundation/opentr"
# An optional link to a related project repo. For example, the sibling repository where your product code lives.
# TODO: to be updated
# github_project_repo = "https://github.com/OpenTRFoundation/opentr"

# Specify a value here if your content directory is not in your repo's root directory
# github_subdir = ""

# Uncomment this if your GitHub repo does not have "main" as the default branch,
# or specify a new value if you want to reference another branch in your GitHub links
github_branch= "main"

# Google Custom Search Engine ID. Remove or comment out to disable search.
# TODO: to be updated
gcs_engine_id = "1637cc6af98914810"

# Enable Algolia DocSearch
algolia_docsearch = false

# Enable Lunr.js offline search
offlineSearch = false

# Enable syntax highlighting and copy buttons on code blocks with Prism
prism_syntax_highlighting = false

[params.mermaid]
enable = true

# User interface configuration
[params.ui]
# Set to true to disable breadcrumb navigation.
breadcrumb_disable = false
# Set to true to disable the About link in the site footer
footer_about_disable = true
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top navbar
navbar_logo = true
# Set to true if you don't want the top navbar to be translucent when over a `block/cover`, like on the homepage.
navbar_translucent_over_cover_disable = false
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact = false
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
sidebar_search_disable = false

# Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
# This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.
# If you want this feature, but occasionally need to remove the "Feedback" section from a single page,
# add "hide_feedback: true" to the page's front matter.
[params.ui.feedback]
enable = false
# The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful).
yes = 'Glad to hear it! Please <a href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we can improve</a>.'
no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we can improve</a>.'

# Adds a reading time to the top of each doc.
# If you want this feature, but occasionally need to remove the Reading time from a single page,
# add "hide_readingtime: true" to the page's front matter
[params.ui.readingtime]
enable = false

[params.links]
# End user relevant links. These will show up on left side of footer and in the community page if you have one.
#[[params.links.user]]
# name = "İletişim"
# url = "/contact/"
# icon = "fa fa-user"
#
#[[params.links.user]]
# name = "Tartışma forumu"
# url = "https://github.com/orgs/OpenTRFoundation/discussions"
# icon = "fa fa-comments"
#
#[[params.links.user]]
# name ="Twitter"
# url = "https://twitter.com/opentr_fdn"
# icon = "fab fa-twitter"
#
#[[params.links.user]]
# name ="LinkedIn"
# url = "https://www.linkedin.com/company/open-tr/"
# icon = "fab fa-linkedin"

# Developer relevant links. These will show up on right side of footer and in the community page if you have one.
#[[params.links.developer]]
# name = "GitHub"
# url = "https://github.com/OpenTRFoundation/opentr"
# icon = "fab fa-github"
#
#[[params.links.developer]]
# name = "Slack"
# url = "https://join.slack.com/t/open-tr/shared_invite/zt-1ut7os0ef-Sdv2nY4ciwiRKfgf4DbQtw"
# icon = "fab fa-slack"

#[[params.links.developer]]
# name = "Duyuru Listesi"
# url = "https://groups.google.com/a/opentr.foundation/g/duyuru"
# icon = "fa fa-envelope"

# hugo module configuration

[module]
#replacements = "github.com/OpenTRFoundation/opentr-docsy-custom -> /absolute/path/to/opentr-docsy-custom"
[module.hugoVersion]
extended = true
min = "0.111.0"
[[module.imports]]
path = "github.com/OpenTRFoundation/opentr-docsy-custom"
disable = false
[[module.imports]]
path = "github.com/google/docsy/dependencies"
disable = false

[sitemap]
changefreq = "weekly"
filename = "sitemap.xml"
priority = 0.5

0 comments on commit ee2e44f

Please sign in to comment.