from cakephpsphinx.config.all import *

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#

# The full version, including alpha/beta/rc tags.
release = '2.x'

# The search index version.
search_version = 'chronos-2'

# The marketing display name for the book.
version_name = ''

# Project name shown in the black header bar
project = 'Chronos'

# Other versions that display in the version picker menu.
version_list = [
    {'name': '1.x', 'number': '/chronos/1.x', 'title': '1.x'},
    {'name': '2.x', 'number': '/chronos/2.x', 'title': '2.x', 'current': True},
]

# Languages available.
languages = ['en', 'fr', 'ja', 'pt']

# The GitHub branch name for this version of the docs
# for edit links to point at.
branch = '2.x'

# Current version being built
version = '2.x'

# Language in use for this directory.
language = 'en'

show_root_link = True

repository = 'cakephp/chronos'

source_path = 'docs/'

is_prerelease = True
hide_page_contents = ('search', '404', 'contents')

from cakephpsphinx.config.all import *

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#

# The full version, including alpha/beta/rc tags.
release = '2.x'

# The search index version.
search_version = 'chronos-2'

# The marketing display name for the book.
version_name = ''

# Project name shown in the black header bar
project = 'Chronos'

# Other versions that display in the version picker menu.
version_list = [
    {'name': '1.x', 'number': '/chronos/1.x', 'title': '1.x'},
    {'name': '2.x', 'number': '/chronos/2.x', 'title': '2.x', 'current': True},
]

# Languages available.
languages = ['en', 'fr', 'ja', 'pt']

# The GitHub branch name for this version of the docs
# for edit links to point at.
branch = '2.x'

# Current version being built
version = '2.x'

# Language in use for this directory.
language = 'en'

show_root_link = True

repository = 'cakephp/chronos'

source_path = 'docs/'

hide_page_contents = ('search', '404', 'contents')

Remove pre-release flag as 2.x is mainline now
Remove pre-release flag as 2.x is mainline now

  from cakephpsphinx.config.all import *
  
  # The version info for the project you're documenting, acts as replacement for
  # |version| and |release|, also used in various other places throughout the
  # built documents.
  #
  
  # The full version, including alpha/beta/rc tags.
  release = '2.x'
  
  # The search index version.
  search_version = 'chronos-2'
  
  # The marketing display name for the book.
  version_name = ''
  
  # Project name shown in the black header bar
  project = 'Chronos'
  
  # Other versions that display in the version picker menu.
  version_list = [
      {'name': '1.x', 'number': '/chronos/1.x', 'title': '1.x'},
      {'name': '2.x', 'number': '/chronos/2.x', 'title': '2.x', 'current': True},
  ]
  
  # Languages available.
  languages = ['en', 'fr', 'ja', 'pt']
  
  # The GitHub branch name for this version of the docs
  # for edit links to point at.
  branch = '2.x'
  
  # Current version being built
  version = '2.x'
  
  # Language in use for this directory.
  language = 'en'
  
  show_root_link = True
  
  repository = 'cakephp/chronos'
  
  source_path = 'docs/'
  
- is_prerelease = True
  hide_page_contents = ('search', '404', 'contents')
  
Remove pre-release flag as 2.x is mainline now
## Code Before:
from cakephpsphinx.config.all import *

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#

# The full version, including alpha/beta/rc tags.
release = '2.x'

# The search index version.
search_version = 'chronos-2'

# The marketing display name for the book.
version_name = ''

# Project name shown in the black header bar
project = 'Chronos'

# Other versions that display in the version picker menu.
version_list = [
    {'name': '1.x', 'number': '/chronos/1.x', 'title': '1.x'},
    {'name': '2.x', 'number': '/chronos/2.x', 'title': '2.x', 'current': True},
]

# Languages available.
languages = ['en', 'fr', 'ja', 'pt']

# The GitHub branch name for this version of the docs
# for edit links to point at.
branch = '2.x'

# Current version being built
version = '2.x'

# Language in use for this directory.
language = 'en'

show_root_link = True

repository = 'cakephp/chronos'

source_path = 'docs/'

is_prerelease = True
hide_page_contents = ('search', '404', 'contents')

## Instruction:
Remove pre-release flag as 2.x is mainline now
## Code After:
from cakephpsphinx.config.all import *

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#

# The full version, including alpha/beta/rc tags.
release = '2.x'

# The search index version.
search_version = 'chronos-2'

# The marketing display name for the book.
version_name = ''

# Project name shown in the black header bar
project = 'Chronos'

# Other versions that display in the version picker menu.
version_list = [
    {'name': '1.x', 'number': '/chronos/1.x', 'title': '1.x'},
    {'name': '2.x', 'number': '/chronos/2.x', 'title': '2.x', 'current': True},
]

# Languages available.
languages = ['en', 'fr', 'ja', 'pt']

# The GitHub branch name for this version of the docs
# for edit links to point at.
branch = '2.x'

# Current version being built
version = '2.x'

# Language in use for this directory.
language = 'en'

show_root_link = True

repository = 'cakephp/chronos'

source_path = 'docs/'

hide_page_contents = ('search', '404', 'contents')
