Skip to content
Snippets Groups Projects
Select Git revision
  • 233514d52cdff7c82adb28ec66a1a6e264197468
  • master default protected
  • add-frequency-to-form
  • dev protected
  • ckan-2.11.0
  • add-package-custom-fields
  • fix-adding-datasets-for-users-and-editors
  • add-auth-subroute
  • 71-migrate-custom-fields-to-ckanext-scheming
  • add-author-maintainer-information
  • fix-inline-flex-btns
  • fix-known-spatial-uri-validation
  • py3
  • 47-aktuelle-resource-einer-collection-wird-nicht-mehr-gefunden
  • 10-eingabe-der-dct-accrualperiodicity-in-weboberflache
  • v1.3
  • 2.5.3
  • 2.5.2
  • 2.5.1
  • 2.5.0
  • 2.4.7
  • 2.4.6
  • 2.4.5
  • 2.4.4
  • 2.4.3
  • 2.4.2
  • 2.4.1
  • 2.4.0
  • 2.3.1
  • 2.3.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.4.3
  • 1.4.2
  • 1.4.1
36 results

odsh_guessformat.js

Blame
  • config.js 3.86 KiB
    const { description } = require('../../package.json');
    module.exports = {
    	/**
    	 * Ref:https://v1.vuepress.vuejs.org/config/#title
    	 */
    	title: 'ITVSH Design System Dokumentation',
    	/**
    	 * Ref:https://v1.vuepress.vuejs.org/config/#description
    	 */
    	description: description,
    	theme: 'nc-provider',
    	/**
    	 * Extra tags to be injected to the page HTML `<head>`
    	 *
    	 * ref:https://v1.vuepress.vuejs.org/config/#head
    	 */
    	head: [
    		['link', { rel: 'icon', href: '/logo.png' }],
    		['link', { rel: 'manifest', href: '/manifest.json' }],
    		['meta', { name: 'theme-color', content: '#3A78B8' }],
    		['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
    		['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }],
    		['link', { rel: 'apple-touch-icon', href: '/icons/apple-touch-icon-152x152.png' }],
    		['link', { rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', color: '#3A78B8' }],
    		[
    			'meta',
    			{ name: 'msapplication-TileImage', content: '/icons/msapplication-icon-144x144.png' },
    		],
    		['meta', { name: 'msapplication-TileColor', content: '#000000' }],
    		['script', { src: 'https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js' }],
    	],
    	module: {
    		rules: [
    			{
    				test: /\.s[ac]ss$/i,
    				use: [
    					'style-loader',
    					'css-loader',
    					{
    						loader: 'sass-loader',
    						options: {
    							// Prefer `dart-sass`
    							implementation: require('sass'),
    						},
    					},
    				],
    			},
    		],
    	},
    	locales: {
    		// The key is the path for the locale to be nested under.
    		// As a special case, the default locale can use '/' as its path.
    		'/': {
    			lang: 'de-DE', // this will be set as the lang attribute on <html>
    			title: 'ITVSH Design System Dokumentation',
    			description: description,
    		},
    	},
    	plugins: [
    		['@vuepress/plugin-back-to-top'],
    		['@vuepress/plugin-medium-zoom'],
    		[
    			'@vuepress/pwa',
    			{
    				serviceWorker: true,
    				popupComponent: 'SWUpdatePopup',
    				updatePopup: {
    					message: 'Neue Inhalte sind verfügbar.',
    					buttonText: 'Aktualisieren',
    				},
    			},
    		],
    		[
    			'@vuepress/search',
    			{
    				searchMaxSuggestions: 10,
    			},
    		],
    		[
    			'@vuepress/last-updated',
    			{
    				transformer: timestamp => timestamp,
    			},
    		],
    		[
    			'demo-block',
    			{
    				settings: {
    					jsLib: ['https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js'],
    					jsfiddle: false,
    					codepen: true,
    					horizontal: false,
    				},
    			},
    		],
    		[
    			'seo',
    			{
    				siteTitle: (_, $site) => $site.title,
    				title: $page => $page.title,
    				description: $page => $page.frontmatter.description,
    				author: (_, $site) => $site.themeConfig.author,
    				tags: $page => $page.frontmatter.tags,
    				twitterCard: _ => 'summary_large_image',
    				type: $page =>
    					['articles', 'posts', 'blog'].some(folder =>
    						$page.regularPath.startsWith('/' + folder)
    					)
    						? 'article'
    						: 'website',
    				url: (_, $site, path) => ($site.themeConfig.domain || '') + path,
    				image: ($page, $site) =>
    					$page.frontmatter.image &&
    					(($site.themeConfig.domain && !$page.frontmatter.image.startsWith('http')) ||
    						'') + $page.frontmatter.image,
    				publishedAt: $page => $page.frontmatter.date && new Date($page.frontmatter.date),
    				modifiedAt: $page => $page.lastUpdated && new Date($page.lastUpdated),
    			},
    		],
    	],
    	/**
    	 * Theme configuration, here is the default theme configuration for VuePress.
    	 *
    	 * ref:https://v1.vuepress.vuejs.org/theme/default-theme-config.html
    	 */
    	themeConfig: {
    		title: 'ITVSH Design System Dokumentation',
    		repoLabel: 'Gitlab',
    		repo: 'https://gitlab.nc-lab.de/nc/Design-System-Doku',
    		editLinks: true,
    		editLinkText: 'Hilf uns diese Seite zu verbessern!',
    		docsBranch: 'main',
    		docsDir: 'src',
    		lastUpdated: 'Letze Änderungen',
    		searchPlaceholder: 'Suche...',
    		search: true,
    		smoothScroll: true,
    		navbar: false,
    		displayAllHeaders: true,
    		sidebar: {
    			'/components/': ['', 'links', 'buttons', 'grids'],
    		},
    		sidebarDepth: 2,
    	},
    };