Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _includes/home-hub.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% assign projects = site.prexian.projects | where_exp: "item", "item.home_url != nil" %}
{% assign posts = site.prexian.posts_combined %}
{% assign num_posts = site.prexian.num_posts_combined %}
{% assign symbol_svg = site.static_files | where: "path", "/assets/hub_symbol.svg" | first %}

{% assign featured_projects = projects | where: "featured", true %}
{% assign num_featured_projects = featured_projects | size %}
Expand Down Expand Up @@ -51,8 +52,7 @@ <h2 class="title">From the Blog</h2>
{% assign num_other_projects = other_projects | size %}
{% if num_other_projects > 0 %}
<section class="other-projects">
{% assign relative_symbol_path = "/assets/img/symbol.svg" | relative_path %}
<img src="{{ relative_symbol_path }}"/>
<img src="{{symbol_svg.path}}" alt="Symbol">

<h2 class="title">Other Projects</h2>

Expand Down
3 changes: 2 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ <h1 class="site-logo"><a href="/">{% include logo.html %}</a></h1>
</nav>
{% endif %}

{% assign symbol_svg = site.static_files | where: "path", "/assets/symbol2.svg" | first %}
{% assign config = site.prexian %}
{% if config.site_type == 'hub' %}
<div class="site-logo" aria-label="logo">{% include logo.html %}</div>
Expand All @@ -116,7 +117,7 @@ <h1 class="site-logo"><a href="/">{% include logo.html %}</a></h1>
<span class="label">{{ site.prexian.title }} is</span>
<a class="logo" role="presentation" href="{{ site.prexian.hub.home_url }}"
aria-label="hub project logo">

<img src="{{symbol_svg.path}}" alt="symbol">
{% capture hub_title %}{% include hub/title.html %}{% endcapture %}
{% unless hub_title contains "Liquid error" %}
{% assign title_exists = true %}
Expand Down
18 changes: 18 additions & 0 deletions assets/hub_symbol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions assets/projects/dataforge/symbol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions assets/symbol2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lib/prexian/data_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def add_project_data_to_items(site, items)
def get_projects(site)
projects = site.collections['projects'].docs.select do |item|
pieces = item.url.split('/')
pieces.length == 4 && pieces[-1] == 'index' && pieces[1] == 'projects'
pieces[1] == 'projects'
end

# Add project name (matches directory name, may differ from title)
Expand Down
94 changes: 94 additions & 0 deletions spec/fixtures/hub/_posts/2024-02-01-dataforge-v2-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
---
layout: post
title: "DataForge v2.0 Released"
date: 2024-02-01 09:00:00 +0000
categories: [release, announcement]
tags: [v2.0, features, performance]
author: "DataForge Team"
---

# DataForge v2.0 Released

We're excited to announce the release of DataForge v2.0, our most significant update yet! This major release brings substantial performance improvements, new features, and enhanced developer experience.

## What's New in v2.0

### Performance Improvements
- **50% faster processing** for large datasets
- **Reduced memory footprint** by 30%
- **Optimized streaming** for real-time data processing
- **Parallel processing** support for multi-core systems

### New Features

#### Enhanced Schema Validation
- Support for complex nested schemas
- Custom validation functions
- Real-time validation feedback
- Schema inheritance and composition

#### Improved CLI Experience
- Interactive mode for guided processing
- Better error messages and debugging
- Auto-completion for commands
- Configuration file support

#### Extended Format Support
- Apache Parquet support
- Apache Avro integration
- Protocol Buffers compatibility
- Custom format plugins

### Developer Experience

#### Better Documentation
- Comprehensive API reference
- Step-by-step tutorials
- Real-world examples
- Video guides

#### Enhanced Testing
- Built-in test framework
- Schema testing utilities
- Performance benchmarking tools
- Mock data generators

## Migration Guide

Upgrading from v1.x to v2.0 is straightforward:

```bash
# Update your installation
gem update dataforge-cli

# Check compatibility
dataforge migrate --check

# Run migration if needed
dataforge migrate --from v1 --to v2
```

## Breaking Changes

- Configuration file format has been updated
- Some CLI flags have been renamed for consistency
- Legacy format plugins need to be updated

See our [migration guide](https://docs.dataforge.example.com/migration/v2) for detailed information.

## Get Started

Download DataForge v2.0 today and experience the next generation of data processing tools!

```bash
gem install dataforge-cli
```

## Community

Join our growing community:
- [GitHub Discussions](https://github.com/techhub/dataforge/discussions)
- [Discord Server](https://discord.gg/dataforge)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/dataforge)

Thank you to all contributors who made this release possible!
2 changes: 1 addition & 1 deletion spec/integration/project_site_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
expect { project_reader.read_content }.not_to raise_error

# Check that hub directory structure is created
hub_path = File.join(site.source, '_hub-site')
hub_path = File.join(site.source)
expect(Dir.exist?(hub_path) || Dir.exist?(File.join(hub_path, 'hub'))).to be_truthy
ensure
FileUtils.rm_rf(cache_dir) if Dir.exist?(cache_dir)
Expand Down
Loading